projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
534d4b6
)
Wrong implicit conversion from double. Fixed by using int.
author
Joe
<joe.hunt.consulting@gmail.com>
Fri, 29 Mar 2024 08:10:04 +0000
(09:10 +0100)
committer
Joe
<joe.hunt.consulting@gmail.com>
Fri, 29 Mar 2024 08:10:04 +0000
(09:10 +0100)
inventory/manage/items.php
patch
|
blob
|
history
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);