mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 02:01:33 +00:00
Fix count of regexes for pager in Regexes class
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-01-31 DariusIII
|
||||
* Fix: Fix count of regexes for pager in Regexes class
|
||||
* Chg: Add option to fixtures up/down commands to specifiy which table fixtures to truncate or add
|
||||
* Chg: Update some faulty regexes
|
||||
* Chg: Update composer.lock
|
||||
|
||||
+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