@@ -70,7 +70,7 @@ class companylogic extends baselogic
if (isset($arr['companyname'])) {
$where['companyname'] = $arr['companyname'];
}
- if (empty(!$where)) {
+ if (!empty($where)) {
$cinfo = $m_c->getinfo($where, ['id']);
if (empty($cinfo)) {