From: Matt S Trout Date: Fri, 27 Jan 2006 02:51:47 +0000 (+0000) Subject: Re-fixed HasOne (how tf did we lose that ...) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e5d98edd1a17b2c57ade1075f8a8049cadd76cc6;p=dbsrgits%2FDBIx-Class-Historic.git Re-fixed HasOne (how tf did we lose that ...) --- diff --git a/lib/DBIx/Class/Relationship/HasOne.pm b/lib/DBIx/Class/Relationship/HasOne.pm index 432c10e..bca5e5b 100644 --- a/lib/DBIx/Class/Relationship/HasOne.pm +++ b/lib/DBIx/Class/Relationship/HasOne.pm @@ -8,7 +8,7 @@ sub might_have { } sub has_one { - shift->_has_one(undef => @_); + shift->_has_one(undef() => @_); } sub _has_one {