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:
f175e85
)
バグの修正。$friendly_namesの配列からスペシャルスキンパーツを判定する条件を変更。
author
sakamocchi
<o-takashi@sakamocchi.jp>
Sun, 8 Apr 2012 23:16:47 +0000
(08:16 +0900)
committer
sakamocchi
<o-takashi@sakamocchi.jp>
Sun, 8 Apr 2012 23:16:47 +0000
(08:16 +0900)
$friendly_nameの配列はスペシャルスキンパーツではない場合、バリューを小文字で再構成したキーを持つ。スペシャルスキンパーツを判定するには、バリューを小文字にしてキーと比較する必要がある。
nucleus/libs/showlist.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/showlist.php
b/nucleus/libs/showlist.php
index
92af16d
..
a4484fe
100644
(file)
--- a/
nucleus/libs/showlist.php
+++ b/
nucleus/libs/showlist.php
@@
-1561,7
+1561,7
@@
function listplug_table_skinlist($vars, $type, $templateName = '')
for ( $i = 0; $i < sizeof($types); $i++ )
\r
{
\r
$type = $types[$i];
\r
- if ( $i !=
$types[$i]
)
\r
+ if ( $i !=
strtolower($type)
)
\r
{
\r
$article = 'skinpartspecial';
\r
}
\r