Bob Crandell <address@hidden> schrieb:
I confirmed the quotes are the problem. As soon as I took them out,
Preferences worked.
I'm attaching my php.ini.
This is the difference. You have them on. I not.
magic_quotes_gpc = On
This is not a FeLaMiMail problem only. If you enter somewhere a '"' you will
always lose your prefs.
But i did fix it! Turn them off! No! :)
Can someone test this, before i put it into cvs?
This is the new function for preferences/preferences.php. It does now check
for magic_qoutes,
function process_array(&$_p, $array)
{
$_appname = check_app();
while (is_array($array) && list($var,$value) = each($array))
{
if (isset($value) && $value != '' && $value != '**NULL**')
{
if(get_magic_quotes_gpc())
{
$_p->add($_appname,$var,stripslashes($value));
}
else
{
$_p->add($_appname,$var,$value);
}
}
else
{
unset($_p->data[$_appname][$var]);
}
}
$_p->save_repository(True);
}
Cu
--
"Lars Kneschke"
_______________________________________________
Phpgroupware-developers mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/phpgroupware-developers