]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
array_count -> count
authorEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:09:51 +0000 (03:09 -0400)
committerEvan Prodromou <evan@prodromou.name>
Mon, 15 Sep 2008 07:09:51 +0000 (03:09 -0400)
darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz

lib/noticewrapper.php

index fbf7b59f4f22a2a6df70aef974afe7301c940897..0d65f1da028c6344af9fd5121a5b695f31dc30f1 100644 (file)
@@ -44,7 +44,7 @@ class NoticeWrapper {
                static $fields = array('id', 'profile_id', 'uri', 'content', 'rendered',
                                                           'url', 'created', 'modified', 'reply_to', 'is_local', 'source');
                $this->i++;
-               if ($this->i >= array_count($notices)) {
+               if ($this->i >= count($notices)) {
                        return false;
                } else {
                        $n = $notices[$this->i];