projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Code cleanup (old code removed)
[fa-stable.git]
/
includes
/
ui
/
items_cart.inc
diff --git
a/includes/ui/items_cart.inc
b/includes/ui/items_cart.inc
index b0d3a609cd30d5c9a9a53d5b63d6e04bf4fb6bf4..0f8b3c35462aefee00d8531d97dee54834742958 100644
(file)
--- a/
includes/ui/items_cart.inc
+++ b/
includes/ui/items_cart.inc
@@
-218,7
+218,9
@@
class line_item
function check_qoh($location, $date_, $reverse)
{
function check_qoh($location, $date_, $reverse)
{
- if (!sys_prefs::allow_negative_stock())
+ global $SysPrefs;
+
+ if (!$SysPrefs->allow_negative_stock())
{
if (has_stock_holding($this->mb_flag))
{
{
if (has_stock_holding($this->mb_flag))
{