From: Thomas Mudrunka Date: Wed, 11 Apr 2012 17:48:52 +0000 (+0200) Subject: location 0 je defaultni X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=1f9cbf9cb21b279494505559361fdb6cc778efbf;p=mirrors%2FSokoMan.git location 0 je defaultni --- 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);