X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fstore.inc.php;h=cf482920b1001540b2a6bb24d0f4f72fc412d57f;hb=253705f2193c14e1f4162a37e8d1550d79efe5ec;hp=b7818abb33dee6eb32be15557979cf5d02ca6e4b;hpb=d0e7939cf5ffbebce8db62be368e36d890105e62;p=mirrors%2FSokoMan.git diff --git a/assistants/store.inc.php b/assistants/store.inc.php index b7818ab..cf48292 100644 --- a/assistants/store.inc.php +++ b/assistants/store.inc.php @@ -40,7 +40,8 @@ switch($SUBPATH[0]) { 'item_quantity' => $item_quantity, 'status_id' => 1, 'item_price_in' => $this->db->map_unique('model_barcode', $_GET['barcode'], 'model_price_in', 'model'), - 'item_price_out' => $this->db->map_unique('model_barcode', $_GET['barcode'], 'model_price_out', 'model') + 'item_price_out' => $this->db->map_unique('model_barcode', $_GET['barcode'], 'model_price_out', 'model'), + 'item_author' => $this->db->auth->get_user_id() )); echo $this->html->render_insert_form('item', $columns, $selectbox, $current, $disable_cols, $action);