From 62a13aec4ca768fcb03b8639e6c5ad1596a19ccd Mon Sep 17 00:00:00 2001 From: Joern-Ingo Weigert Date: Wed, 24 Apr 2013 17:27:44 +0200 Subject: [PATCH] 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 --- html/cgi-bin/services.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/cgi-bin/services.cgi b/html/cgi-bin/services.cgi index 22a9ac707..131cad8f0 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"; } -- 2.39.2