From b4fa4912b056aa54ce57ab74790909f59ef85f13 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 11 Feb 2015 14:18:32 +0800 Subject: [PATCH] DataObjects/Core_notify.php --- DataObjects/Core_notify.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 32c7a612..8e5f6073 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -186,7 +186,7 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject "; $this->selectAs($d, 'core_notify_%s'); } - if (isset($q['query']['person_id_name']) ) { + if (!empty($q['query']['person_id_name']) ) { $this->whereAdd( "join_person_id_id.name LIKE '{$this->escape($q['query']['person_id_name'])}%'"); } -- 2.39.2