From: Joe Date: Fri, 29 Mar 2024 08:10:04 +0000 (+0100) Subject: Wrong implicit conversion from double. Fixed by using int. X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=commitdiff_plain;h=ce5f33c17196c1f32e05576da2fd9719db60c596 Wrong implicit conversion from double. Fixed by using int. --- 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);