Skip to content

Commit

Permalink
Update ItemModel.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th authored Mar 27, 2019
1 parent 68edac2 commit eaa4dcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/Application/Api/Model/ItemModel.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function import($json,$uid,$item_name= '',$item_description= '',$item_pas
return $item_id;
}

public function copy($item_id,$uid,$item_name= '',$item_description= '',$item_password = '',$item_domain){
public function copy($item_id,$uid,$item_name= '',$item_description= '',$item_password = '',$item_domain=''){
return $this->import($this->export($item_id),$uid,$item_name,$item_description,$item_password,$item_domain);
}

Expand Down Expand Up @@ -302,4 +302,4 @@ public function soft_delete_item($item_id){
return $this->where("item_id = '$item_id' ")->save(array("is_del"=>1 ,"last_update_time"=>time()));
}

}
}

0 comments on commit eaa4dcc

Please sign in to comment.