services.cgi: Fix for depreciate-warning in httpd/error_log

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>
This commit is contained in:
Joern-Ingo Weigert
2013-04-24 17:27:44 +02:00
parent 9235b5c54b
commit 62a13aec4c

View File

@@ -125,11 +125,11 @@ END
$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";
}