DataObjects/Core_notify.php
authorAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2012 06:34:42 +0000 (14:34 +0800)
committerAlan Knowles <alan@roojs.com>
Wed, 5 Dec 2012 06:34:42 +0000 (14:34 +0800)
DataObjects/Core_notify.php

index a54d1e3..618a9ec 100644 (file)
@@ -135,6 +135,10 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
                 {$d->_join}
             "; 
         } 
+        if (isset($q['query']['person_id_name']) ) {
+            $this->whereAdd( "join_person_id_id.name LIKE '{$this->escape($q['query']['person_id_name'])}%'");
+             
+        }