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');