From 05d4414a41ca8a2f817ff14e83c07932fb4a8a83 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Mon, 17 Feb 2020 17:12:59 +0100 Subject: [PATCH] generate_lang_file.php : fix warning about missing arg in usage() --- public_html/lang/generate_lang_file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/lang/generate_lang_file.php b/public_html/lang/generate_lang_file.php index c0497acc..47134b2e 100755 --- a/public_html/lang/generate_lang_file.php +++ b/public_html/lang/generate_lang_file.php @@ -45,7 +45,7 @@ $format=$available_formats[0]; $translations=array(); $debug = false; $load_files = array(); -function usage($error, $exit_code=0) { +function usage($error=false, $exit_code=0) { global $argv, $available_withouts, $available_onlys; if ($error) echo "$error\n\n";