Kirin 2 anni fa
parent
commit
241f8e2537
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      app/models/user/Cert.php

+ 1 - 1
app/models/user/Cert.php

@@ -76,7 +76,7 @@ class Cert extends BaseModel
         }
 
         if (isset($where['uid']) && $where['uid'] != '') {
-            $model = self::where('uid', $where['uid']);
+            $model = $model->where('uid', $where['uid']);
         }
 
         $count = $model->count();