fixed current_source_alias example code
Alexander Hartmaier [Thu, 12 Apr 2012 14:30:30 +0000 (16:30 +0200)]
lib/DBIx/Class/ResultSet.pm

index 3b68af1..71595e3 100644 (file)
@@ -3098,9 +3098,9 @@ source alias of the current result set:
 
     my $me = $self->current_source_alias;
 
-    return $self->search(
+    return $self->search({
       "$me.modified" => $user->id,
-    );
+    });
   }
 
 =cut