From 307a75e3a7503b89170e13248b70b909dcb9a246 Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Tue, 23 Aug 2011 09:52:48 -0700 Subject: [PATCH] Fix deprecated call-time pass by references --- classes/Notice.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } } } -- 2.39.5