aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/globals.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.php b/src/globals.php
index 2391a8f..e475f57 100755
--- a/src/globals.php
+++ b/src/globals.php
@@ -263,7 +263,7 @@ function mymtime() {
}
function myunique() {
list($usec, $sec) = explode(" ", microtime());
- return (int) ((int)($usec * 100)) + ($sec % 1000000);
+ return (int) (((int)($usec * 100)) + (((int)$sec) % 1000000));
}
//retorna data e hora atuais
function now () {