Passing 0 deprecated

This commit is contained in:
gtbu 2023-04-26 15:25:06 +02:00
parent 4683be8df6
commit 1dce84e3dd
2 changed files with 2 additions and 2 deletions

View file

@ -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.

View file

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