mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 20:40:14 +01:00
Clean up evals for php3, same as .12 branch
This commit is contained in:
parent
829250b0c0
commit
c77b23fbc7
@ -149,7 +149,7 @@
|
||||
while (list($type,$val) = each($this->adr_types))
|
||||
{
|
||||
$ftype = 'one_'.$type;
|
||||
eval("if (\$\$ftype=='on'\) { \$typed \.= \$type\.';'; }");
|
||||
eval("if (\$\$ftype=='on') { \$typed .= \$type . ';'; }");
|
||||
}
|
||||
$fields['adr_one_type'] = substr($typed,0,-1);
|
||||
|
||||
@ -167,7 +167,7 @@
|
||||
while (list($type,$val) = each($this->adr_types))
|
||||
{
|
||||
$ftype = 'two_'.$type;
|
||||
eval("if \(\$\$ftype=='on'\) { \$typed \.= \$type\.';'; }");
|
||||
eval("if (\$\$ftype=='on') { \$typed \.= \$type . ';'; }");
|
||||
}
|
||||
$fields['adr_two_type'] = substr($typed,0,-1);
|
||||
|
||||
|
@ -158,7 +158,7 @@
|
||||
while (list($type,$val) = each($this->adr_types))
|
||||
{
|
||||
$ftype = 'one_'.$type;
|
||||
eval("if (\$\$ftype=='on'\) { \$typed \.= \$type\.';'; }");
|
||||
eval("if (\$\$ftype=='on') { \$typed .= \$type . ';'; }");
|
||||
}
|
||||
$fields['adr_one_type'] = substr($typed,0,-1);
|
||||
|
||||
@ -176,7 +176,7 @@
|
||||
while (list($type,$val) = each($this->adr_types))
|
||||
{
|
||||
$ftype = 'two_'.$type;
|
||||
eval("if \(\$\$ftype=='on'\) { \$typed \.= \$type\.';'; }");
|
||||
eval("if (\$\$ftype=='on') { \$typed .= \$type . ';'; }");
|
||||
}
|
||||
$fields["adr_two_type"] = substr($typed,0,-1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user