FIX #25392 - PHP 8 Warning on new member public form (#25397)

This commit is contained in:
daraelmin
2023-07-23 21:35:44 +02:00
committed by GitHub
parent 84928e7350
commit 7664759d3f

View File

@@ -161,7 +161,7 @@ function llxHeaderVierge($title, $head = "", $disablejs = 0, $disablehead = 0, $
*/
function llxFooterVierge()
{
global $conf;
global $conf, $langs;
print '</div>';
@@ -169,7 +169,7 @@ function llxFooterVierge()
if (!empty($conf->use_javascript_ajax)) {
print "\n".'<!-- Includes JS Footer of Dolibarr -->'."\n";
print '<script src="'.DOL_URL_ROOT.'/core/js/lib_foot.js.php?lang='.$langs->defaultlang.($ext ? '&'.$ext : '').'"></script>'."\n";
print '<script src="'.DOL_URL_ROOT.'/core/js/lib_foot.js.php?lang='.$langs->defaultlang.(!empty($ext) ? '&'.$ext : '').'"></script>'."\n";
}
print "</body>\n";