mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Also catch PDOException in _executeCountQuery()
This commit is contained in:
parent
afcc25bd50
commit
c700de4f66
1 changed files with 5 additions and 0 deletions
|
|
@ -420,6 +420,11 @@ class DB
|
|||
$output = $this->setError(-1, $e->getMessage());
|
||||
return $output;
|
||||
}
|
||||
catch (\PDOException $e)
|
||||
{
|
||||
$output = $this->setError(-1, $e->getMessage());
|
||||
return $output;
|
||||
}
|
||||
|
||||
// Collect various counts used in the page calculation.
|
||||
list($is_expression, $list_count) = $query->navigation->list_count->getValue($args);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue