|
From: FlorinCB <ory...@us...> - 2008-08-29 02:48:11
|
Update of /cvsroot/mxbb/core/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv18625 Modified Files: mx_functions_style.php Log Message: That last query for styles table was totaly wrong and made serious problems after changing backend. Index: mx_functions_style.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/mx_functions_style.php,v retrieving revision 1.87 retrieving revision 1.88 diff -C2 -d -r1.87 -r1.88 *** mx_functions_style.php 27 Aug 2008 09:53:16 -0000 1.87 --- mx_functions_style.php 29 Aug 2008 02:48:07 -0000 1.88 *************** *** 771,777 **** break; case 'phpbb3': ! $sql = 'SELECT bbt.*, stt.* ! FROM ' . STYLES_TABLE . ' bbt, ' . STYLES_TEMPLATE_TABLE . ' stt ! WERE bbt.style_id = stt.template_id'; break; } --- 771,778 ---- break; case 'phpbb3': ! $sql = "SELECT bbt.*, stt.* ! FROM " . MX_THEMES_TABLE . " mxt, " . STYLES_TABLE . " bbt, " . STYLES_TEMPLATE_TABLE . " stt ! WHERE mxt.template_name = stt.template_path ! AND bbt.style_id = stt.template_id"; break; } |