projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Wrong implicit conversion from double. Fixed by using int.
[fa-stable.git]
/
inventory
/
manage
/
items.php
diff --git
a/inventory/manage/items.php
b/inventory/manage/items.php
index ae2686cdc89498a4ff99b71a8bed7aabbe2f7039..3cc6ddaf9e898a8d16252db75fecb17b11b411d0 100644
(file)
--- a/
inventory/manage/items.php
+++ b/
inventory/manage/items.php
@@
-668,7
+668,7
@@
function generateBarcode() {
$tmpBarcodeID = "";
$tmpCountTrys = 0;
while ($tmpBarcodeID == "") {
- srand ((
double
) microtime( )*1000000);
+ srand ((
int
) microtime( )*1000000);
$random_1 = rand(1,9);
$random_2 = rand(0,9);
$random_3 = rand(0,9);