DataObjects/Core_notify.php
authorEdward <edward@roojs.com>
Wed, 11 Feb 2015 05:56:54 +0000 (13:56 +0800)
committerEdward <edward@roojs.com>
Wed, 11 Feb 2015 05:56:54 +0000 (13:56 +0800)
DataObjects/Core_notify.php

index cfa2a06..32c7a61 100644 (file)
@@ -215,7 +215,19 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
             }
         }
         
-        
+        $this->selectAdd("
+            (SELECT
+                    display_name
+            FROM
+                    core_enum
+            WHERE
+                    etype = 'Core.NotifyType'
+                AND
+                    name = core_notify.evtype
+                AND
+                    active = 1
+            ) AS evtype_align
+        ");