OSDN Git Service

Indexで、type別出力
[trpgtools-onweb/cake-frame.git] / app / plugins / links / views / helpers / link_select.php
index 1d9ffd0..27ce0ab 100644 (file)
@@ -23,10 +23,6 @@ class LinkSelectHelper extends Helper {
         */
        function get_i18n_type($type, $type_list)
        {
-               if (empty($type)) {
-                       return null;
-               }
-
                if (isset($type_list[$type]['title'])) {
                        return $type_list[$type]['title'];
                } else {