]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch '1.0.x' into activity
authorEvan Prodromou <evan@status.net>
Tue, 23 Aug 2011 04:41:03 +0000 (00:41 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 23 Aug 2011 04:41:03 +0000 (00:41 -0400)
classes/Notice.php

index e029880f8d2c6900ced425878479c26ceef3258c..f7daf708e8eb27438e0011031b72df1ea81af860 100644 (file)
@@ -2641,7 +2641,8 @@ class Notice extends Managed_DataObject
             }
         }
         foreach ($notices as $notice) {
-            $notice->_setFaves($faveMap[$notice->id]);
+               $faves = $faveMap[$notice->id];
+            $notice->_setFaves(&$faves);
         }
     }
 
@@ -2681,7 +2682,8 @@ class Notice extends Managed_DataObject
         $ids = self::_idsOf($notices);
         $repeatMap = Memcached_DataObject::listGet('Notice', 'repeat_of', $ids);
         foreach ($notices as $notice) {
-            $notice->_setRepeats($repeatMap[$notice->id]);
+               $repeats = $repeatMap[$notice->id];
+            $notice->_setRepeats(&$repeats);
         }
     }
 }