[0003246] Fixed wrong url generated by menu_link helper in final transaction entry...
[fa-stable.git] / includes / ui / items_cart.inc
index ecec18a29f27664f22d40d3d2464d615084f8310..f517edd973ce3241dd10107d1c66442f770d9047 100644 (file)
@@ -112,7 +112,7 @@ class items_cart
                                                continue;
 
                                        if (check_negative_stock($line_item->stock_id, $quantity, $location, $date_))
-                                               $low_stock[] = $line_no;
+                                               $low_stock[] = $line_item->stock_id;
                        }
                }
                return $low_stock;