Commit be4d9082 authored by Evan Prodromou's avatar Evan Prodromou

Merge branch '1.0.x' into activity

parents cd3a53e0 2ea17b07
......@@ -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);
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment