Merge pull request #2710 from NewEraCracker/prevent-reference-reuse

This commit is contained in:
Renato Botelho 2016-03-07 08:10:08 -03:00
commit 52f1c78779
2 changed files with 2 additions and 0 deletions

View File

@ -326,6 +326,7 @@ foreach ($data as &$entry) {
$entry['dnsresolve'] = "Z_ ";
}
}
unset($entry);
// Sort the data alpha first
$data = msort($data, "dnsresolve");

View File

@ -118,6 +118,7 @@ foreach ($data as &$entry) {
$entry['dnsresolve'] = "Z_ ";
}
}
unset($entry);
// Sort the data alpha first
$data = msort($data, "dnsresolve");