[Jifty-commit] r7338 - in Jifty-DBI/branches/tisql: lib/Jifty/DBI

Jifty commits jifty-commit at lists.jifty.org
Sat Jul 18 08:34:51 EDT 2009


Author: ruz
Date: Sat Jul 18 08:34:50 2009
New Revision: 7338

Modified:
   Jifty-DBI/branches/tisql/   (props changed)
   Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm

Log:
 r7309 at Macintosh:  ruz | 2009-06-22 03:54:10 +0300
 * dclone doesn't work without reference


Modified: Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm
==============================================================================
--- Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm	(original)
+++ Jifty-DBI/branches/tisql/lib/Jifty/DBI/Tisql.pm	Sat Jul 18 08:34:50 2009
@@ -749,7 +749,7 @@
     foreach (qw(lhs rhs)) {
         if ( blessed $new{$_} ) {
             $new{$_} = $new{$_}->clone;
-        } else {
+        } elsif ( ref $new{$_} ) {
             $new{$_} = Storable::dclone( $new{$_} );
         }
     }


More information about the Jifty-commit mailing list