Skip to content
Snippets Groups Projects
Commit 449c59ff authored by Prasad's avatar Prasad
Browse files

Fixes #1751: Check for defined constant before use - php8.x

parent 2874d3c6
No related branches found
No related tags found
No related merge requests found
......@@ -303,7 +303,7 @@ class Vtiger_Utils {
* @param <boolean> $request flag to enable or disable request in log
*/
static function ModuleLog($module, $mixed, $extra = array()) {
if (ALLOW_MODULE_LOGGING) {
if (defined('ALLOW_MODULE_LOGGING')) {
global $site_URL;
$date = date('Y-m-d H:i:s');
$log = array($site_URL,$module, $date);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment