Kaynağa Gözat

Update ItemModel.class.php

star7th 6 yıl önce
ebeveyn
işleme
eaa4dcc23c

+ 2 - 2
server/Application/Api/Model/ItemModel.class.php

@@ -183,7 +183,7 @@ class ItemModel extends BaseModel {
         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);
     }
 
@@ -302,4 +302,4 @@ class ItemModel extends BaseModel {
         return $this->where("item_id = '$item_id' ")->save(array("is_del"=>1 ,"last_update_time"=>time()));
     }
 
-}
+}