From d8f2907fb00b701f91e6e98d33c4e6c0dd0619a5 Mon Sep 17 00:00:00 2001 From: Cassio de Campos Date: Mon, 16 Oct 2017 22:34:48 +0100 Subject: bug fixes --- src/globals.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/globals.php') diff --git a/src/globals.php b/src/globals.php index cb7c419..4c387fc 100755 --- a/src/globals.php +++ b/src/globals.php @@ -284,8 +284,8 @@ function mytime() { function mymtime() { return microtime(true); } -function myunique() { - return ((int)(100*microtime(true))) % 100000000; +function myunique($val=0) { + return (((int)(100*microtime(true))) % 10000000)*100 + ($val % 100); } //retorna data e hora atuais function now () { -- cgit v1.2.3