From: Evan Prodromou Date: Mon, 15 Sep 2008 07:09:51 +0000 (-0400) Subject: array_count -> count X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=df724990bdd89a222eb7d5a437f291e7a0926fa7;p=quix0rs-gnu-social.git array_count -> count darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz --- diff --git a/lib/noticewrapper.php b/lib/noticewrapper.php index fbf7b59f4f..0d65f1da02 100644 --- a/lib/noticewrapper.php +++ b/lib/noticewrapper.php @@ -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];