OSDN Git Service

FIX:未インストールプラグインのセレクトボックス内の値の出力修正
authorshizuki <shizuki@kinezumi.net>
Thu, 10 May 2012 12:43:12 +0000 (21:43 +0900)
committershizuki <shizuki@kinezumi.net>
Thu, 10 May 2012 12:43:12 +0000 (21:43 +0900)
未インストールプラグインの名前を格納している配列の値に「NP_」が含まれていたためプラグインが正しくインストールできなかった

nucleus/libs/AdminActions.php

index 2e2667f..8191264 100644 (file)
@@ -5745,7 +5745,7 @@ class AdminActions extends BaseActions
                        {
                                if ( !in_array($matches[1], $installed) )
                                {
-                                       $candidates[] = $matches[1];
+                                       $candidates[] = preg_replace("#^NP_#", "", $matches[1]);
                                }
                        }
                }