X-Git-Url: https://git.harvie.cz/?a=blobdiff_plain;f=assistants%2Fstore-single.inc.php;h=5e18f5941fbd24c8448572c2670413acfa8d34dd;hb=bf9a965cbe1a779ffebbe2251c1ebb4690067e51;hp=7af375d19962043843b6541d7763789d28a980f5;hpb=d0e7939cf5ffbebce8db62be368e36d890105e62;p=mirrors%2FSokoMan.git diff --git a/assistants/store-single.inc.php b/assistants/store-single.inc.php index 7af375d..5e18f59 100644 --- a/assistants/store-single.inc.php +++ b/assistants/store-single.inc.php @@ -12,7 +12,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';