OSDN Git Service
(root)
/
nucleus-jp
/
nucleus-next.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a7b1a6
)
FIX:未インストールプラグインのセレクトボックス内の値の出力修正
author
shizuki
<shizuki@kinezumi.net>
Thu, 10 May 2012 12:43:12 +0000
(21:43 +0900)
committer
shizuki
<shizuki@kinezumi.net>
Thu, 10 May 2012 12:43:12 +0000
(21:43 +0900)
未インストールプラグインの名前を格納している配列の値に「NP_」が含まれていたためプラグインが正しくインストールできなかった
nucleus/libs/AdminActions.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/AdminActions.php
b/nucleus/libs/AdminActions.php
index
2e2667f
..
8191264
100644
(file)
--- a/
nucleus/libs/AdminActions.php
+++ b/
nucleus/libs/AdminActions.php
@@
-5745,7
+5745,7
@@
class AdminActions extends BaseActions
{
if ( !in_array($matches[1], $installed) )
{
- $candidates[] =
$matches[1]
;
+ $candidates[] =
preg_replace("#^NP_#", "", $matches[1])
;
}
}
}