simplification
authorAlexander Hartmaier <alexander.hartmaier@t-systems.at>
Mon, 4 Oct 2010 15:43:13 +0000 (17:43 +0200)
committerAlexander Hartmaier <alexander.hartmaier@t-systems.at>
Mon, 4 Oct 2010 15:43:13 +0000 (17:43 +0200)
lib/DBIx/Class/ResultSet/RecursiveUpdate.pm

index dcf370752d16a4fa47ac39fbf3c9d11524eff0ec..2f50ee10202c44127c84530d44264d8d3555e3a3 100644 (file)
@@ -307,7 +307,7 @@ sub _update_relation {
                 );
             }
         }
-        elsif ( !ref $updates ) {
+        else {
             $sub_object = $related_resultset->find($updates)
                 unless (
                 !$updates
This page took 0.022607 seconds and 4 git commands to generate.