From 6a782e13e5b286ca9f3a07af3d304f33d507bd63 Mon Sep 17 00:00:00 2001 From: sparc Date: Fri, 4 Sep 2015 17:44:14 +0000 Subject: [PATCH] code cleanup --- src/whois.parser.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/whois.parser.php b/src/whois.parser.php index 29b116d..0a59080 100755 --- a/src/whois.parser.php +++ b/src/whois.parser.php @@ -363,11 +363,9 @@ while (list($key,$val) = each($rawdata)) { if ($field != '') { - //$var = '$r'.getvarname($field); $itm = trim(substr($val,$pos+strlen($match))); - if ($itm!='') - //eval($var.'="'.str_replace('"','\"',$itm).'";'); + if ($itm != '') { $var = 'r'.getvarname($field); $$var = str_replace('"','\"',$itm);