mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
Couple tweeks to the file gerneration to make it a more 'proper' array.
git-svn-id: file:///svn/phpbb/trunk@1245 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
fb8511df75
commit
ebcd583860
1 changed files with 2 additions and 2 deletions
|
@ -216,9 +216,9 @@ switch($mode)
|
||||||
{
|
{
|
||||||
while(list($key, $val) = each($theme_rowset[$i]))
|
while(list($key, $val) = each($theme_rowset[$i]))
|
||||||
{
|
{
|
||||||
if(!intval($key) && $key != "0")
|
if(!intval($key) && $key != "0" && $key != "themes_id")
|
||||||
{
|
{
|
||||||
$theme_data .= '$' . $template_name . "[$i][$key] = \"$val\";\n";
|
$theme_data .= '$' . $template_name . "[$i]['$key'] = \"$val\";\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$theme_data .= "\n";
|
$theme_data .= "\n";
|
||||||
|
|
Loading…
Add table
Reference in a new issue