]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
fix notice counting code
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 19:21:51 +0000 (15:21 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 19:21:51 +0000 (15:21 -0400)
darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz

actions/showstream.php

index c4908101bbef597ae03afc8f8beeee6a99d8a082..bc16b4d51ff754b77795c065303c2614174d318c 100644 (file)
@@ -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');