[geeklog-cvs] Geeklog-1.x/public_html usersettings.php, 1.171, 1.172
Dirk Haun
dhaun at qs1489.pair.com
Sat May 17 07:00:51 EDT 2008
Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv62589/public_html
Modified Files:
usersettings.php
Log Message:
Fixes for E_ALL (when theme or language selection is disabled)
Index: usersettings.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/usersettings.php,v
retrieving revision 1.171
retrieving revision 1.172
diff -C2 -d -r1.171 -r1.172
*** usersettings.php 24 Feb 2008 19:43:53 -0000 1.171
--- usersettings.php 17 May 2008 11:00:49 -0000 1.172
***************
*** 1400,1410 ****
}
! $A['theme'] = COM_applyFilter ($A['theme']);
! if (empty ($A['theme'])) {
$A['theme'] = $_CONF['theme'];
}
! $A['language'] = COM_applyFilter ($A['language']);
! if (empty ($A['language'])) {
$A['language'] = $_CONF['language'];
}
--- 1400,1414 ----
}
! if (isset($A['theme'])) {
! $A['theme'] = COM_applyFilter($A['theme']);
! }
! if (empty($A['theme'])) {
$A['theme'] = $_CONF['theme'];
}
! if (isset($A['language'])) {
! $A['language'] = COM_applyFilter($A['language']);
! }
! if (empty($A['language'])) {
$A['language'] = $_CONF['language'];
}
More information about the geeklog-cvs
mailing list