Merge pull request #17468 from pokemaobr/retval

Changing value of  to avoid js error on debugJson FIXES #17458
This commit is contained in:
Maurício Meneghini Fauth 2022-03-31 15:44:46 -03:00 committed by GitHub
commit 6b33b500a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -117,7 +117,7 @@ class Footer
*/
public function getDebugMessage(): string
{
$retval = '\'null\'';
$retval = '\'false\'';
if ($GLOBALS['cfg']['DBG']['sql'] && empty($_REQUEST['no_debug']) && ! empty($_SESSION['debug'])) {
// Remove recursions and iterators from $_SESSION['debug']
self::removeRecursion($_SESSION['debug']);