[Bps-public-commit] r16561 - sd/trunk/lib/App/SD/Model

ruz at bestpractical.com ruz at bestpractical.com
Tue Oct 28 12:23:50 EDT 2008


Author: ruz
Date: Tue Oct 28 12:23:50 2008
New Revision: 16561

Modified:
   sd/trunk/lib/App/SD/Model/Ticket.pm

Log:
* the latest config has get/set methods, internals are different

Modified: sd/trunk/lib/App/SD/Model/Ticket.pm
==============================================================================
--- sd/trunk/lib/App/SD/Model/Ticket.pm	(original)
+++ sd/trunk/lib/App/SD/Model/Ticket.pm	Tue Oct 28 12:23:50 2008
@@ -34,7 +34,7 @@
 =cut
 
 sub default_prop_reported_by {
-    shift->app_handle->config->{reporter_email} or $ENV{EMAIL}
+    shift->app_handle->config->get('reporter_email') or $ENV{EMAIL}
 }
 
 =head2 canonicalize_prop_status



More information about the Bps-public-commit mailing list