fix a typo that was causing non-lazy relationships not to work
authorChuck Hagenbuch <chuck@horde.org>
Wed, 9 Sep 2009 03:45:35 +0000 (23:45 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Wed, 9 Sep 2009 03:45:35 +0000 (23:45 -0400)
framework/Rdo/lib/Horde/Rdo/Mapper.php

index 9c6f151..a27c87b 100644 (file)
@@ -253,7 +253,7 @@ abstract class Horde_Rdo_Mapper implements Countable
                 }
 
                 if (isset($relationships[$m->table])) {
-                    $o->$relationship = $m->map($relationships[$m->table]);
+                    $object->$relationship = $m->map($relationships[$m->table]);
                 }
             }
         }