Look in /includes/functions/extra_functions/osh_updated_by_functions.php to find the following fragment, adding the line in red:
That will create a debug-log file that contains the value of the IS_ADMIN_FLAG (which should be true) and the $updated_by value (which should be null).Code:error_log (print_r (IS_ADMIN_FLAG, true) . ', ' . print_r ($updated_by, true)); if (!zen_not_null($updated_by)) { if (IS_ADMIN_FLAG === true && isset($_SESSION['admin_id'])) { $updated_by = zen_updated_by_admin(); } elseif (IS_ADMIN_FLAG === false && isset($_SESSION['customers_id'])) { $updated_by = ''; } else { $updated_by = 'N/A'; } }


Reply With Quote
