This commit is contained in:
parent
81fbe584db
commit
9aee96d7e2
8 changed files with 12 additions and 9 deletions
|
@ -30,7 +30,7 @@ class Rating extends Base {
|
|||
}
|
||||
|
||||
public static function getCount() {
|
||||
$nRatings = parent::getDb ()->query('select count(*) from ratings')->fetchColumn();
|
||||
$nRatings = parent::executeQuerySingle ('select count(*) from ratings');
|
||||
$entry = new Entry (localize("ratings.title"), self::ALL_RATING_ID,
|
||||
str_format (localize("ratings", $nRatings), $nRatings), "text",
|
||||
array ( new LinkNavigation ("?page=".parent::PAGE_ALL_RATINGS)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue