aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-04-17 14:58:16 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-04-17 14:58:16 +0000
commitb1597679c232135ada4abbbf6282a5f3d7d1e19a (patch)
treefafe44461ab9f3970c6d0758f254f6dde7c682c4
parent18b565e8cd8c89b562429288ca409f665fc5b6aa (diff)
downloadforums-b1597679c232135ada4abbbf6282a5f3d7d1e19a.tar
forums-b1597679c232135ada4abbbf6282a5f3d7d1e19a.tar.gz
forums-b1597679c232135ada4abbbf6282a5f3d7d1e19a.tar.bz2
forums-b1597679c232135ada4abbbf6282a5f3d7d1e19a.tar.xz
forums-b1597679c232135ada4abbbf6282a5f3d7d1e19a.zip
add missing $super assignment - Bug #43635
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9458 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/acp/acp_styles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_styles.php b/phpBB/includes/acp/acp_styles.php
index b4765ac733..184b71cec3 100644
--- a/phpBB/includes/acp/acp_styles.php
+++ b/phpBB/includes/acp/acp_styles.php
@@ -746,7 +746,7 @@ parse_css_file = {PARSE_CSS_FILE}
// If it's not stored in the db yet, then update the template setting and store all template files in the db
if (!$template_info['template_storedb'])
{
- if ($this->get_super('template', $template_id))
+ if ($super = $this->get_super('template', $template_id))
{
$this->store_in_db('template', $super['template_id']);
}
@@ -3227,7 +3227,7 @@ parse_css_file = {PARSE_CSS_FILE}
{
$select_bf = '';
}
-
+
$sql = "SELECT {$mode}_id, {$mode}_name, {$mode}_path, {$mode}_storedb $select_bf
FROM $sql_from
WHERE {$mode}_name = '" . $db->sql_escape($cfg_data['inherit_from']) . "'