|
From: OryNider <ory...@us...> - 2007-12-27 02:20:26
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30636 Modified Files: mx_functions_style.php Log Message: Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** mx_functions_style.php 17 Dec 2007 07:02:08 -0000 1.28 --- mx_functions_style.php 27 Dec 2007 02:20:20 -0000 1.29 *************** *** 786,790 **** WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; case 'phpbb3': --- 786,790 ---- WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.themes_id = " . (int) $style; break; case 'phpbb3': *************** *** 793,797 **** WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND mxt.themes_id = " . (int) $style; break; } --- 793,797 ---- WHERE mxt.style_name = bbt.style_name AND mxt.portal_backend = '" . PORTAL_BACKEND . "' ! AND bbt.style_id = " . (int) $style; break; } *************** *** 799,805 **** if ( !($result = $db->sql_query($sql, 120)) ) { ! mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } ! // // Use default style if custom style doesn't exist. --- 799,805 ---- if ( !($result = $db->sql_query($sql, 120)) ) { ! mx_message_die(CRITICAL_ERROR, "Could not query database for theme info", '', __LINE__, __FILE__, $sql); } ! // // Use default style if custom style doesn't exist. *************** *** 837,841 **** mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } ! // // Last desperate try... --- 837,841 ---- mx_message_die(CRITICAL_ERROR, 'Could not query database for theme info'); } ! // // Last desperate try... |