This patch fixes the depreciate warning in /var/log/httpd/error_log
not to use a hash as reference
So I changed:
[...]
print %link->{$key}
[...]
To:
[...]
print $link{link}
[...]
which solves the warning and should be good in future.
Joern-Ingo Weigert <jiweigert@ipfire.org>
$lines++;
if ($lines % 2){
print "<tr bgcolor='$color{'color22'}'>\n<td align='left'>";
- print %link->{$key};
+ print $link{$key};
print "</td>\n";
}else{
print "<tr bgcolor='$color{'color20'}'>\n<td align='left'>";
- print %link->{$key};
+ print $link{$key};
print "</td>\n";
}