|
From: OryNider <ory...@us...> - 2008-06-03 20:35:23
|
Update of /cvsroot/mxbb/mx_online_adv/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15636 Modified Files: online_adv_hack.php Log Message: fix for 2.8.2/2.9.2 Index: online_adv_hack.php =================================================================== RCS file: /cvsroot/mxbb/mx_online_adv/includes/online_adv_hack.php,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** online_adv_hack.php 14 May 2008 20:44:42 -0000 1.7 --- online_adv_hack.php 3 Jun 2008 20:35:18 -0000 1.8 *************** *** 46,49 **** --- 46,55 ---- !defined('ONLINE_ADV_SESSION_TABLE') ? define('ONLINE_ADV_SESSION_TABLE', $mx_table_prefix.'online_adv_session') : false; + + if (!$_GET['print']) // Do not "fix" with reuest wrapper!! + { + $mx_user->set_module_default_style('_core'); // For compatibility with core 2.8.x + + } include_once($mx_root_path . 'modules/mx_online_adv/includes/functions.'.$phpEx); |