code cleanup

This commit is contained in:
sparc 2015-09-04 17:44:14 +00:00
parent 1452e0cd7b
commit 6a782e13e5

View file

@ -363,11 +363,9 @@ while (list($key,$val) = each($rawdata))
{ {
if ($field != '') if ($field != '')
{ {
//$var = '$r'.getvarname($field);
$itm = trim(substr($val,$pos+strlen($match))); $itm = trim(substr($val,$pos+strlen($match)));
if ($itm!='') if ($itm != '')
//eval($var.'="'.str_replace('"','\"',$itm).'";');
{ {
$var = 'r'.getvarname($field); $var = 'r'.getvarname($field);
$$var = str_replace('"','\"',$itm); $$var = str_replace('"','\"',$itm);