Issue with debug message for $aInfo in jjwg_Maps.php #4295

Open
opened 2026-02-20 16:15:52 -05:00 by deekerman · 1 comment
Owner

Originally created by @sjuvonen-delta on GitHub (May 13, 2020).

There is a minor bug in /modules/jjwg_Maps/jjwg_Maps.php.

Line 630:
$GLOBALS['log']->debug(__METHOD__.' $aInfo: '.$aInfo);

$aInfo should be wrapped by print_r:
$GLOBALS['log']->debug(__METHOD__.' $aInfo: '.print_r($aInfo, true));

Elsewhere in this file, debug messages for $aInfo are wrapped in print_r properly.

Regards,
Sam

Originally created by @sjuvonen-delta on GitHub (May 13, 2020). There is a minor bug in /modules/jjwg_Maps/jjwg_Maps.php. Line 630: `$GLOBALS['log']->debug(__METHOD__.' $aInfo: '.$aInfo);` $aInfo should be wrapped by print_r: `$GLOBALS['log']->debug(__METHOD__.' $aInfo: '.print_r($aInfo, true));` Elsewhere in this file, debug messages for $aInfo are wrapped in print_r properly. Regards, Sam
Author
Owner

@pgorod commented on GitHub (May 13, 2020):

Watch out for this problem: #884

@pgorod commented on GitHub (May 13, 2020): Watch out for this problem: #884
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/SuiteCRM-SuiteCRM#4295
No description provided.