mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
but do check the right value...
This commit is contained in:
parent
e2206c12f6
commit
566aee1cb2
@ -85,9 +85,9 @@
|
|||||||
|
|
||||||
while (list($setting,$value) = @each($newsettings))
|
while (list($setting,$value) = @each($newsettings))
|
||||||
{
|
{
|
||||||
/*echo '<br>Updating: ' . $setting . '=' . $value; */
|
echo '<br>Updating: ' . $setting . '=' . $value;
|
||||||
/* Don't erase passwords, since we also do not print them below */
|
/* Don't erase passwords, since we also do not print them below */
|
||||||
if(!ereg('passwd',$value) && !ereg('password',$value) && !ereg('root_pw',$value))
|
if(!ereg('passwd',$setting) && !ereg('password',$setting) && !ereg('root_pw',$setting))
|
||||||
{
|
{
|
||||||
@$phpgw_setup->db->query("DELETE FROM $configtbl WHERE config_name='" . $setting . "'");
|
@$phpgw_setup->db->query("DELETE FROM $configtbl WHERE config_name='" . $setting . "'");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user