From 1dce84e3dd6286795b1ca568666176d83332a1ac Mon Sep 17 00:00:00 2001 From: gtbu <60353863+g7sim@users.noreply.github.com> Date: Wed, 26 Apr 2023 15:25:06 +0200 Subject: [PATCH] Passing 0 deprecated --- README.md | 2 +- include/tool/Recaptcha.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7caae35..2f4a61b 100644 --- a/README.md +++ b/README.md @@ -54,5 +54,5 @@ When submitting pull requests, it is extremely helpful to isolate the changes yo ## Problems with updates ## If You have questions regarding installation please look here at the top in the WIKI. -The pdate of scssphp to version 1.11 is important for bootstrap 5. +The update of scssphp to version 1.11 is important for bootstrap 5. Old bootstrap 3 - based themes had a small bug in variables.css which has been corrected. diff --git a/include/tool/Recaptcha.php b/include/tool/Recaptcha.php index 80c363b..188b69e 100644 --- a/include/tool/Recaptcha.php +++ b/include/tool/Recaptcha.php @@ -43,7 +43,7 @@ namespace gp\tool{ public static function GetForm($theme='light', $size='', $lang=''){ global $config; $custom_size = !empty($size) ? ' data-size="' . htmlspecialchars($size) .'"' : ''; // conpact, normal - $custom_lang = !empty($lang) || $lang != 'inherit' ? '?hl='. htmlspecialchars($lang) : ''; + $custom_lang = !empty($lang) || $lang != 'inherit' ? '?hl='. htmlspecialchars($lang ?? "") : ''; $html = ''; if( self::hasRecaptcha() ){ includeFile('thirdparty/recaptcha/autoload.php');