diff --git a/vtlib/Vtiger/Utils.php b/vtlib/Vtiger/Utils.php index 3c1f09d6cd48cde71a0118226b2250d9be67025e..64a36a485a1aa660fd10408f1adef3ca5fd7430d 100644 --- a/vtlib/Vtiger/Utils.php +++ b/vtlib/Vtiger/Utils.php @@ -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);