mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +01:00
worked around stupid php5.2 empty haystack warnings
This commit is contained in:
parent
2862da3993
commit
a9c94a4d3d
@ -174,7 +174,7 @@
|
|||||||
case 'value':
|
case 'value':
|
||||||
$newval = str_replace(' ','_',$newval);
|
$newval = str_replace(' ','_',$newval);
|
||||||
/* Don't show passwords in the form */
|
/* 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,'');
|
$t->set_var($value,'');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user