aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Atkinson <thefinn@users.sourceforge.net>2001-10-25 08:57:39 +0000
committerJames Atkinson <thefinn@users.sourceforge.net>2001-10-25 08:57:39 +0000
commitebcd583860699d339177e40ece2746387166f60a (patch)
tree7720220b273543039c81d53125502374604bffc6
parentfb8511df75a824c211a697b7352e143b785865ee (diff)
downloadforums-ebcd583860699d339177e40ece2746387166f60a.tar
forums-ebcd583860699d339177e40ece2746387166f60a.tar.gz
forums-ebcd583860699d339177e40ece2746387166f60a.tar.bz2
forums-ebcd583860699d339177e40ece2746387166f60a.tar.xz
forums-ebcd583860699d339177e40ece2746387166f60a.zip
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
-rw-r--r--phpBB/admin/admin_styles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/admin/admin_styles.php b/phpBB/admin/admin_styles.php
index bd83b593de..6b9e919def 100644
--- a/phpBB/admin/admin_styles.php
+++ b/phpBB/admin/admin_styles.php
@@ -216,9 +216,9 @@ switch($mode)
{
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";