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

Jifty commits jifty-commit at lists.jifty.org
Wed Feb 18 14:56:04 EST 2009


Author: alexmv
Date: Wed Feb 18 14:56:03 2009
New Revision: 6346

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

Log:
 r42159 at kohr-ah:  chmrr | 2009-02-18 14:48:57 -0500
  * Concat each message value, not one-per-argument


Modified: jifty/trunk/lib/Jifty/Plugin/TestServerWarnings/Appender.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/TestServerWarnings/Appender.pm	(original)
+++ jifty/trunk/lib/Jifty/Plugin/TestServerWarnings/Appender.pm	Wed Feb 18 14:56:03 2009
@@ -12,8 +12,8 @@
     my $self = shift;
     my $plugin = Jifty->find_plugin("Jifty::Plugin::TestServerWarnings");
     my $message = $_[0]{message};
-    my @messages = ref $message eq "ARRAY" ? @{$message} : ($message);
-    $plugin->add_warnings(@messages);
+    $message = join('',@{$message}) if ref $message eq "ARRAY";
+    $plugin->add_warnings($message);
 }
 
 1;


More information about the Jifty-commit mailing list