From: Zach Copley Date: Tue, 23 Aug 2011 16:52:48 +0000 (-0700) Subject: Fix deprecated call-time pass by references X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=307a75e3a7503b89170e13248b70b909dcb9a246;p=quix0rs-gnu-social.git Fix deprecated call-time pass by references --- diff --git a/classes/Notice.php b/classes/Notice.php index 3cbb2edd3d..15696f6eef 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -2643,7 +2643,7 @@ class Notice extends Managed_DataObject } foreach ($notices as $notice) { $faves = $faveMap[$notice->id]; - $notice->_setFaves(&$faves); + $notice->_setFaves($faves); } } @@ -2684,7 +2684,7 @@ class Notice extends Managed_DataObject $repeatMap = Memcached_DataObject::listGet('Notice', 'repeat_of', $ids); foreach ($notices as $notice) { $repeats = $repeatMap[$notice->id]; - $notice->_setRepeats(&$repeats); + $notice->_setRepeats($repeats); } } }