We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 726e8fda authored by Evan Prodromou's avatar Evan Prodromou

fix notice counting code

parent 95717c2b
......@@ -190,8 +190,8 @@ class ShowstreamAction extends StreamAction {
$subbed_count = $subbed->count();
$notices = DB_DataObject::factory('notice');
$notice->profile_id = $profile->id;
$notice_count = $notice->count();
$notices->profile_id = $profile->id;
$notice_count = $notices->count();
# Other stats...?
common_element_start('dl', 'statistics');
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