X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=inventory%2Fmanage%2Fitems.php;fp=inventory%2Fmanage%2Fitems.php;h=3cc6ddaf9e898a8d16252db75fecb17b11b411d0;hp=ae2686cdc89498a4ff99b71a8bed7aabbe2f7039;hb=ce5f33c17196c1f32e05576da2fd9719db60c596;hpb=534d4b6a6b5e771f3b61e0fc65afd856760a6408 diff --git a/inventory/manage/items.php b/inventory/manage/items.php index ae2686cd..3cc6ddaf 100644 --- 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);