DataObjects/Events.php
authorChris <chris@roojs.com>
Fri, 10 Jan 2014 09:33:02 +0000 (17:33 +0800)
committerChris <chris@roojs.com>
Fri, 10 Jan 2014 09:33:02 +0000 (17:33 +0800)
DataObjects/Events.php

index d653b41..fa20c96 100644 (file)
@@ -223,7 +223,8 @@ class Pman_Core_DataObjects_Events extends DB_DataObject
         }
         
         if(!empty($q['query']['action'])) {
-            
+            $act = $this->escape($q['query']['action']);
+            $this->whereAdd("Events.action LIKE '%{$act}%'");
         }