mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 03:52:15 +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());
|
$output = $this->setError(-1, $e->getMessage());
|
||||||
return $output;
|
return $output;
|
||||||
}
|
}
|
||||||
|
catch (\PDOException $e)
|
||||||
|
{
|
||||||
|
$output = $this->setError(-1, $e->getMessage());
|
||||||
|
return $output;
|
||||||
|
}
|
||||||
|
|
||||||
// Collect various counts used in the page calculation.
|
// Collect various counts used in the page calculation.
|
||||||
list($is_expression, $list_count) = $query->navigation->list_count->getValue($args);
|
list($is_expression, $list_count) = $query->navigation->list_count->getValue($args);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue