X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fincludes%2Fdb%2Fpo_db.inc;h=ba2740e927f1b0dc296bd0bd7c9d20c9a7409ffd;hb=18fb9ad2356007f48d6e7f31e335cdbd248df110;hp=b8ef5ada4410aad4dfd63f4c2c070ea61edece0e;hpb=9600b748bf58aae910c7f649ecccda395909302f;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);