diff --git a/workflow/public_html/sysGeneric.php b/workflow/public_html/sysGeneric.php index 93793bd0c..ec6f6a11c 100755 --- a/workflow/public_html/sysGeneric.php +++ b/workflow/public_html/sysGeneric.php @@ -73,6 +73,11 @@ function transactionLog($transactionName){ } } +// Validating if exists 'HTTP_USER_AGENT' key in $_SERVER array +if (!isset($_SERVER['HTTP_USER_AGENT'])) { + $_SERVER['HTTP_USER_AGENT'] = ''; +} + // Defining the PATH_SEP constant, he we are defining if the the path separator symbol will be '\\' or '/' define( 'PATH_SEP', '/' );