diff --git a/htdocs/core/lib/functions.lib.php b/htdocs/core/lib/functions.lib.php index 790f2c855d4..ee2ef29f5a5 100644 --- a/htdocs/core/lib/functions.lib.php +++ b/htdocs/core/lib/functions.lib.php @@ -4107,4 +4107,17 @@ function getCurrencySymbol($currency_code) return $currency_sign; } +if (! function_exists('getmypid')) +{ + /** + * Return PID + * + * @return void + */ + function getmypid() + { + return rand(1,32768); + } +} + ?>