Project

General

Profile

Bug #20949 » 11815.diff

Administrator Admin, 2009-08-28 13:52

View differences:

t3lib/class.t3lib_befunc.php (working copy)
if (is_array($MOD_MENU)) {
foreach ($MOD_MENU as $key=>$var) {
// If a global var is set before entering here. eg if submitted, then it's substituting the current value the array.
if (is_array($CHANGED_SETTINGS) && isset($CHANGED_SETTINGS[$key]) && strcmp($settings[$key], $CHANGED_SETTINGS[$key])) {
if (is_array($CHANGED_SETTINGS) && isset($CHANGED_SETTINGS[$key]) && !is_array($CHANGED_SETTINGS[$key]) && strcmp($settings[$key], $CHANGED_SETTINGS[$key])) {
$settings[$key] = (string)$CHANGED_SETTINGS[$key];
$changed = 1;
}
(1-1/2)