|
From: FlorinCB <ory...@us...> - 2008-10-05 04:19:56
|
Update of /cvsroot/mxbb/core/includes/sessions/phpbb3 In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv14513 Modified Files: session.php Log Message: fix Index: session.php =================================================================== RCS file: /cvsroot/mxbb/core/includes/sessions/phpbb3/session.php,v retrieving revision 1.34 retrieving revision 1.35 diff -C2 -d -r1.34 -r1.35 *** session.php 5 Oct 2008 01:25:00 -0000 1.34 --- session.php 5 Oct 2008 04:19:02 -0000 1.35 *************** *** 1370,1381 **** AND t.template_path = m.template_name AND t.template_id = s.template_id"; ! if ( !($row = $db->sql_fetchrow($db->sql_query($sql))) ) { ! mx_message_die(CRITICAL_ERROR, "Could not query database for phpBB style_id info for mxp themes_id: $default_style", "", __LINE__, __FILE__, $sql); ! } else { ! $style = $row['style_id']; //User style ! } } --- 1370,1381 ---- AND t.template_path = m.template_name AND t.template_id = s.template_id"; ! ! if ($row = $db->sql_fetchrow($db->sql_query($sql))) { ! $style = $row['style_id']; //User style ! } else { ! $style = $this->data['user_style'] ? $this->data['user_style'] : $board_config['default_style']; } } |