diff --git a/frontend/controllers/DatabaseController.php b/frontend/controllers/DatabaseController.php index 010f73f..b23c831 100644 --- a/frontend/controllers/DatabaseController.php +++ b/frontend/controllers/DatabaseController.php @@ -207,7 +207,7 @@ class DatabaseController extends BaseController } if($has_phone == 1) { - $query->andWhere('phone<>""'); + $query->andWhere('car_man_phone<>""'); } if($no_insurerdate == 1) { $query->andWhere('insurer1_date="" or insurer1_date is null or insurer1_date="0000-00-00"');