mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
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:
@@ -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";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user