Browse Source

Merge branch 'wugg-dev' of wugg/phpstock into version1.5

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

+ 1 - 1
app/common.php

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