X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fstore-single.inc.php;h=c7c5d2e96902c97cf1d04b3e6b2f6abade442ef0;hb=e7ffc208813f90877fb4787bc3947f01dd34b81f;hp=7af375d19962043843b6541d7763789d28a980f5;hpb=d0e7939cf5ffbebce8db62be368e36d890105e62;p=mirrors%2FSokoMan.git diff --git a/assistants/store-single.inc.php b/assistants/store-single.inc.php index 7af375d..c7c5d2e 100644 --- a/assistants/store-single.inc.php +++ b/assistants/store-single.inc.php @@ -1,4 +1,5 @@ process_http_request_post('new', false, false, "$URL_INTERNAL/2"); switch($SUBPATH[0]) { default: case 1: @@ -12,7 +13,8 @@ switch($SUBPATH[0]) { $current = array(array( 'model_id' => $model_id, 'item_quantity' => 1, - 'status_id' => 1 + 'status_id' => 1, + 'item_author' => $this->db->auth->get_user_id() )); $action = $_SERVER['SCRIPT_NAME'].'/item/new';