wugg 2 years ago
parent
commit
bed54b93b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common.php

+ 1 - 1
app/common.php

@@ -474,7 +474,7 @@ function sear($id){
         $value['search']=$item['search']."_".$value['cat_name'];
 
         $list = Db::name('cat')->save($value);
-         sear($id);
+        sear($value['id']);
     }
 }