DataObjects/Core_notify.php
authorEdward <edward@roojs.com>
Wed, 11 Feb 2015 06:18:32 +0000 (14:18 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Feb 2015 06:18:32 +0000 (14:18 +0800)
DataObjects/Core_notify.php

index 32c7a61..8e5f607 100644 (file)
@@ -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'])}%'");
              
         }