X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=hooks.php;h=fc1943f83324faa2c2faf86655fe816af9a570ab;hb=c4074de92868561c2f64fc1cb3326d02caa939b6;hp=dfac38971f41cab922b85bfecf2a96e186695f08;hpb=b3f0a14d9b3cdf8d029d02989031ecb4667fbcd0;p=order_line_extra.git diff --git a/hooks.php b/hooks.php index dfac389..fc1943f 100644 --- a/hooks.php +++ b/hooks.php @@ -8,6 +8,8 @@ // ---------------------------------------------------------------- define ('SS_ORDERLINEX', 100<<8); +include_once('includes/db_order_lines.inc'); + class hooks_order_line_extra extends hooks { var $module_name = 'order_line_extra'; @@ -47,7 +49,8 @@ class hooks_order_line_extra extends hooks { ); - return $this->update_databases($company, $updates, $check_only); + //return $this->update_databases($company, $updates, $check_only); + return $this->update_databases($company, $updates, $check_only) && update_queue_quantities(); } function deactivate_extension($company, $check_only=true)