Closed aurmil closed 12 years ago
return $select->fetchAll(); should be return $select->fetchAll()->count();
Should be: return $select->count();
that's true, my mistake ;)
return $select->fetchAll(); should be return $select->fetchAll()->count();