array_count -> count
darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz
This commit is contained in:
parent
1806469ba2
commit
df724990bd
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user