DataObjects/Core_email.php
authorAlan Knowles <alan@roojs.com>
Fri, 14 Sep 2018 05:10:21 +0000 (13:10 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 14 Sep 2018 05:10:21 +0000 (13:10 +0800)
DataObjects/Core_email.php

index b6289c2..9774303 100644 (file)
@@ -63,7 +63,7 @@ class Pman_Core_DataObjects_Core_email extends DB_DataObject
         ");
        
        if (!empty($_REQUEST['_hide_system_emails'])) {
-           $this->whereAddIn("!name", array('EVENT_ERRORS_REPORT'), 'string');
+           $this->whereAddIn("!{$this->tableName()}.name", array('EVENT_ERRORS_REPORT'), 'string');
        }
        
     }