|
From: FlorinCB <ory...@us...> - 2008-08-27 08:00:41
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv10961 Modified Files: mx_functions_style.php Log Message: $this->data['user_style'] is the phpBB style id !!!!!!!!!!!!!!!!!!!!!!!! Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.84 retrieving revision 1.85 diff -C2 -d -r1.84 -r1.85 *** mx_functions_style.php 30 Jul 2008 11:59:03 -0000 1.84 --- mx_functions_style.php 27 Aug 2008 08:00:08 -0000 1.85 *************** *** 669,673 **** WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; case 'phpbb3': --- 669,673 ---- WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.themes_id = " . (int) $style; break; case 'phpbb3': *************** *** 675,680 **** FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; } --- 675,680 ---- FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt WHERE mxt.style_name = bbt.style_name ! AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.style_id = " . (int) $style; break; } *************** *** 690,693 **** --- 690,695 ---- if ( !($row = $db->sql_fetchrow($result)) ) { + //mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); + $style = $portal_config['default_style']; |