diff --git a/src/Utils.php b/src/Utils.php index 5c7502b..f924ae2 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -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)')); }