Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sparc committed Sep 4, 2015
1 parent 91f47e5 commit 37f3f7a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions whois.parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -363,11 +363,9 @@ function generic_parser_b ( $rawdata, $items = false, $dateformat='mdy', $hasreg
{
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);
Expand Down

0 comments on commit 37f3f7a

Please sign in to comment.