DataObjects/Core_enum.php
authorEdward <edward@roojs.com>
Fri, 14 Feb 2014 12:40:07 +0000 (20:40 +0800)
committerEdward <edward@roojs.com>
Fri, 14 Feb 2014 12:40:07 +0000 (20:40 +0800)
DataObjects/Core_enum.php

index a0267e8..2c90551 100644 (file)
@@ -77,9 +77,9 @@ class Pman_Core_DataObjects_Core_enum extends DB_DataObject
                 '$l' = 'en' THEN display_name 
             ELSE
                 CASE WHEN cms_templatestr.txt IS NOT NULL OR cms_templatestr.txt != '' THEN
-                    'a'
+                    cms_templatestr.txt
                 ELSE
-                    'b'
+                    display_name
                 END
             END as  display_name_tr 
         ");