mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Fix count of regexes for pager in Regexes class
This commit is contained in:
+3
-3
@@ -134,7 +134,7 @@ class Regexes
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the \count of regex in the DB.
|
||||
* Get the count of regex in the DB.
|
||||
*
|
||||
* @param string $group_regex Optional, keyword to find a group.
|
||||
*
|
||||
@@ -144,13 +144,13 @@ class Regexes
|
||||
{
|
||||
$query = $this->pdo->queryOneRow(
|
||||
sprintf(
|
||||
'SELECT COUNT(id) AS \count FROM %s %s',
|
||||
'SELECT COUNT(id) AS count FROM %s %s',
|
||||
$this->tableName,
|
||||
$this->_groupQueryString($group_regex)
|
||||
)
|
||||
);
|
||||
|
||||
return (int) $query['\count'];
|
||||
return (int) $query['count'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user