Kirin %!s(int64=2) %!d(string=hai) anos
pai
achega
241f8e2537
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();