From 57aea7e62f7df2424ffbd1adc90941bff482d7ea Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Fri, 16 Jan 2009 17:41:04 +0000 Subject: modified some files to get the admin index page working, as well as index page in logged in state and not logged in state additionally prepare for a working installation git-svn-id: file:///svn/phpbb/trunk@9272 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/style.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/style.php') diff --git a/phpBB/style.php b/phpBB/style.php index ec8c788128..4a26d8ed00 100644 --- a/phpBB/style.php +++ b/phpBB/style.php @@ -121,7 +121,7 @@ if ($recache) 'theme_data' => $theme['theme_data'] ); - phpbb::$db->sql_handle_data('UPDATE', STYLES_THEME_TABLE, $sql_ary, 'theme_id = ' . $theme['theme_id']); + phpbb::$db->sql_query('UPDATE ' . STYLES_THEME_TABLE . ' SET ' . phpbb::$db->sql_build_array('UPDATE', $sql_ary) . ' WHERE theme_id = ' . $theme['theme_id']); phpbb::$acm->destroy_sql(STYLES_THEME_TABLE); } -- cgit v1.2.1