Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.2.2
-
Fix Version/s: None
-
Component/s: Record
-
Labels:None
-
Environment:Doctrine SVN 1.2 r7676
Description
When calling getMutators() on an instance of Doctrine_Record (eg. $user = new User();), if it hasn't any defined custom mutator yet, we get a
Notice: Undefined index: User in /[...]/Doctrine/Record.php on line 1312
whereas there's no error with getAccessors() (I suppose it was fixed for the second one but not copied to the first one).
Patch is really simple! please see attachment ![]()
Regards