OSDN Git Service

FIX: showlist.phpのarray_key_exists()の引数のデリミタの修正
authorsakamocchi <o-takashi@sakamocchi.jp>
Fri, 4 May 2012 01:10:34 +0000 (10:10 +0900)
committersakamocchi <o-takashi@sakamocchi.jp>
Fri, 4 May 2012 01:10:34 +0000 (10:10 +0900)
ピリオドが使われていたのをカンマに修正

nucleus/libs/showlist.php

index 4a03679..a316644 100644 (file)
@@ -1319,7 +1319,7 @@ function listplug_table_shortnames($vars, $type, $templateName = '')
        switch( $type )\r
        {\r
                case 'HEAD':\r
-                       if ( !array_key_exists('SHOWLIST_LISTPLUG_TABLE_SHORTNAM_HEAD'. $templates) || empty($templates['SHOWLIST_LISTPLUG_TABLE_SHORTNAM_HEAD']) )\r
+                       if ( !array_key_exists('SHOWLIST_LISTPLUG_TABLE_SHORTNAM_HEAD', $templates) || empty($templates['SHOWLIST_LISTPLUG_TABLE_SHORTNAM_HEAD']) )\r
                        {\r
                                $template = "<th><%colname%></th>\n"\r
                                          . "<th><%coldesc%></th>\n";\r
@@ -1351,7 +1351,7 @@ function listplug_table_shortnames($vars, $type, $templateName = '')
                        break;\r
                case 'FOOT':\r
                        $current = $vars['current'];\r
-                       if ( !array_key_exists('SHOWLIST_LISTPLUG_TABLE_SHORTNAM_FOOT'. $templates) || empty($templates['SHOWLIST_LISTPLUG_TABLE_SHORTNAM_FOOT']) )\r
+                       if ( !array_key_exists('SHOWLIST_LISTPLUG_TABLE_SHORTNAM_FOOT', $templates) || empty($templates['SHOWLIST_LISTPLUG_TABLE_SHORTNAM_FOOT']) )\r
                        {\r
                                $template = "\n";\r
                        }\r
@@ -1880,7 +1880,7 @@ function listplug_table_banlist($vars, $type, $templateName = '')
                        break;\r
                case 'BODY':\r
                        $current = $vars['current'];\r
-                       if ( !array_key_exists('SHOWLIST_LISTPLUG_TABLE_IBANLIST_BODY'. $templates) || empty($templates['SHOWLIST_LISTPLUG_TABLE_IBANLIST_BODY']) )\r
+                       if ( !array_key_exists('SHOWLIST_LISTPLUG_TABLE_IBANLIST_BODY', $templates) || empty($templates['SHOWLIST_LISTPLUG_TABLE_IBANLIST_BODY']) )\r
                        {\r
                                $template = "<td><%iprange%></td>\n"\r
                                          . "<td><%reason%></td>\n"\r