From: Joern-Ingo Weigert Date: Wed, 24 Apr 2013 15:27:44 +0000 (+0200) Subject: services.cgi: Fix for depreciate-warning in httpd/error_log X-Git-Tag: v2.13-core68~2^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=62a13aec4ca768fcb03b8639e6c5ad1596a19ccd;p=ipfire-2.x.git 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 --- diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index 22a9ac707c..131cad8f0a 100644 --- a/html/cgi-bin/services.cgi +++ b/html/cgi-bin/services.cgi @@ -125,11 +125,11 @@ END $lines++; if ($lines % 2){ print "\n"; - print %link->{$key}; + print $link{$key}; print "\n"; }else{ print "\n"; - print %link->{$key}; + print $link{$key}; print "\n"; }