forked from extern/egroupware
worked around stupid php5.2 empty haystack warnings
This commit is contained in:
parent
2862da3993
commit
a9c94a4d3d
@ -174,7 +174,7 @@
|
||||
case 'value':
|
||||
$newval = str_replace(' ','_',$newval);
|
||||
/* Don't show passwords in the form */
|
||||
if(strstr($value,'passwd') || strstr($value,'password') || strstr($value,'root_pw'))
|
||||
if(strpos($value,'passwd') !== false || strpos($value,'password') !== false || strpos($value,'root_pw') !== false)
|
||||
{
|
||||
$t->set_var($value,'');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user