oops
parent
45c0b61bbe
commit
87f8c4bc75
|
@ -155,7 +155,7 @@ class Utils
|
||||||
try {
|
try {
|
||||||
$sql = new SelectStatement();
|
$sql = new SelectStatement();
|
||||||
$rs = $sql->from(dcCore::app()->prefix . My::TABLE_NAME)->column($sql->max('option_id'))->select();
|
$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)'));
|
throw new Exception(__('Something went wrong)'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue