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:
67440d2
)
FIX:引数と関数内で使用している変数名の不一致によりスキン情報が取得できない不具合の修正
author
reine
<reine@users.sourceforge.jp>
Tue, 1 May 2012 04:42:52 +0000
(13:42 +0900)
committer
reine
<reine@users.sourceforge.jp>
Tue, 1 May 2012 05:11:24 +0000
(14:11 +0900)
nucleus/libs/SKIN.php
patch
|
blob
|
history
diff --git
a/nucleus/libs/SKIN.php
b/nucleus/libs/SKIN.php
index
96edee8
..
b82a1f4
100644
(file)
--- a/
nucleus/libs/SKIN.php
+++ b/
nucleus/libs/SKIN.php
@@
-388,7
+388,7
@@
class Skin
public function getContentFromDB($skintype)
{
$query = "SELECT scontent FROM %s WHERE sdesc=%d and stype=%s;";
- $query = sprintf($query, sql_table('skin'), (integer) $this->id, DB::quoteValue($type));
+ $query = sprintf($query, sql_table('skin'), (integer) $this->id, DB::quoteValue($
skin
type));
$res = DB::getValue($query);
return $res ? $res : '';