From 1f9cbf9cb21b279494505559361fdb6cc778efbf Mon Sep 17 00:00:00 2001 From: Thomas Mudrunka Date: Wed, 11 Apr 2012 19:48:52 +0200 Subject: [PATCH] location 0 je defaultni --- assistants/store.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assistants/store.inc.php b/assistants/store.inc.php index 361174e..418ce94 100644 --- a/assistants/store.inc.php +++ b/assistants/store.inc.php @@ -50,7 +50,8 @@ switch($SUBPATH[0]) { 'item_price_in' => $item_price_in + ($quantity_added * $model_price_in), 'item_price_out' => $item_price_out + ($quantity_added * $model_price_out), 'item_author' => $this->db->auth->get_user_id(), - 'item_date_bought' => date('Y-m-d') + 'item_date_bought' => date('Y-m-d'), + 'location_id' => 0 )); echo $this->html->render_insert_form('item', $columns, $selectbox, $current, $disable_cols, $action, $multi_insert); -- 2.30.2