array_count -> count

darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz
This commit is contained in:
Evan Prodromou 2008-09-15 03:09:51 -04:00
parent 1806469ba2
commit df724990bd
1 changed files with 1 additions and 1 deletions

View 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];