From b1597679c232135ada4abbbf6282a5f3d7d1e19a Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 17 Apr 2009 14:58:16 +0000 Subject: [PATCH] add missing $super assignment - Bug #43635 git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9458 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_styles.php | 4 ++-- 1 file 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']) . "'