[Jifty-commit] r6210 - in jifty/trunk: lib/Jifty/Plugin

Jifty commits jifty-commit at lists.jifty.org
Thu Jan 8 18:18:12 EST 2009


Author: alexmv
Date: Thu Jan  8 18:18:12 2009
New Revision: 6210

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Plugin/Chart.pm

Log:
 r40365 at kohr-ah:  chmrr | 2009-01-08 18:03:47 -0500
  * Fix dereferencing error in tests


Modified: jifty/trunk/lib/Jifty/Plugin/Chart.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Chart.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/Chart.pm	Thu Jan  8 18:18:12 2009
@@ -90,6 +90,7 @@
 
     # Save the arguments for use in init_renderer() later
     $self->plugin_args( \%args );
+    $self->_prereq_plugins( [] );
 
     # Deprecating the old form
     if (defined $args{renderer}) {
@@ -168,8 +169,8 @@
 }
 
 sub prereq_plugins {
-  my $self = shift;
-  return @{ $self->_prereq_plugins };
+    my $self = shift;
+    return @{ $self->_prereq_plugins };
 }
 
 


More information about the Jifty-commit mailing list