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

index 2c90551..a0267e8 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
-                    cms_templatestr.txt
+                    'a'
                 ELSE
-                    display_name
+                    'b'
                 END
             END as  display_name_tr 
         ");