From ffa93926c32e1faba3bb2097746408a666cb792f Mon Sep 17 00:00:00 2001 From: Ilia Rostovtsev Date: Wed, 29 Sep 2021 14:18:19 +0300 Subject: [PATCH] Fix comment for new var dump sub --- web-lib-funcs.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index e25f1baec..9246c2edb 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -6542,7 +6542,7 @@ Write content of a variable or hash/array ref to a file. For internal use only. Example : webmin_debug_var_dump('HASH_NAME', \%hash_ref); webmin_debug_var_dump('ARRAY_NAME', \@array_ref); - webmin_debug_var_dump('VALUE_NAME', '$var_name'); + webmin_debug_var_dump('VALUE_NAME', $var_name); Calling as root user `webmin_debug_var_dump('ENV', \%ENV)` will write a file under Webmin temporary directory with a file name `.debug_webmin_root_hash_ENV` dumping