[Jifty-commit] r6970 - jifty/trunk/lib/Jifty/Plugin

Jifty commits jifty-commit at lists.jifty.org
Sun May 10 23:02:44 EDT 2009


Author: sunnavy
Date: Sun May 10 23:02:43 2009
New Revision: 6970

Modified:
   jifty/trunk/lib/Jifty/Plugin/Config.pm

Log:
set only if defined

Modified: jifty/trunk/lib/Jifty/Plugin/Config.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Config.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Config.pm	Sun May 10 23:02:43 2009
@@ -44,7 +44,7 @@
     my $self = shift;
     my %opt = @_;
     for ( qw/after_restart_url restart_url config_url wait_seconds/ ) {
-        __PACKAGE__->$_( $opt{$_} );
+        __PACKAGE__->$_( $opt{$_} ) if defined $opt{$_};
     }
 }
 


More information about the Jifty-commit mailing list