X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fdb%2Fpo_db.inc;h=ba2740e927f1b0dc296bd0bd7c9d20c9a7409ffd;hb=65c68ebb3a09aa06418fb7f5e1712ca8012d756f;hp=b8ef5ada4410aad4dfd63f4c2c070ea61edece0e;hpb=83d7715f9571cc167be7d54b7f4807ec19d7aa5c;p=fa-stable.git diff --git a/purchasing/includes/db/po_db.inc b/purchasing/includes/db/po_db.inc index b8ef5ada..ba2740e9 100644 --- a/purchasing/includes/db/po_db.inc +++ b/purchasing/includes/db/po_db.inc @@ -64,7 +64,7 @@ function update_po(&$po_obj) /*Update the purchase order header with any changes */ $sql = "UPDATE ".TB_PREF."purch_orders SET Comments=" . db_escape($po_obj->Comments) . ", - requisition_no= " db_escape(. $po_obj->requisition_no). ", + requisition_no= ". db_escape( $po_obj->requisition_no). ", into_stock_location=" . db_escape($po_obj->Location). ", ord_date='" . date2sql($po_obj->orig_order_date) . "', delivery_address=" . db_escape($po_obj->delivery_address);