master
Jean-Christian Paul Denis 2023-04-25 13:40:27 +02:00
parent 45c0b61bbe
commit 87f8c4bc75
Signed by: JcDenis
GPG Key ID: 1B5B8C5B90B6C951
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ class Utils
try {
$sql = new SelectStatement();
$rs = $sql->from(dcCore::app()->prefix . My::TABLE_NAME)->column($sql->max('option_id'))->select();
if (is_null($rs) || $rs->isEmtpy()) {
if (is_null($rs) || $rs->isEmpty()) {
throw new Exception(__('Something went wrong)'));
}