From df724990bdd89a222eb7d5a437f291e7a0926fa7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 15 Sep 2008 03:09:51 -0400 Subject: [PATCH] array_count -> count darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz --- lib/noticewrapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];