Re-fixed HasOne (how tf did we lose that ...)
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Relationship / HasOne.pm
index 432c10e..bca5e5b 100644 (file)
@@ -8,7 +8,7 @@ sub might_have {
 }
 
 sub has_one {
-  shift->_has_one(undef => @_);
+  shift->_has_one(undef() => @_);
 }
 
 sub _has_one {