yingzi %!s(int64=3) %!d(string=hai) anos
pai
achega
2b0311b4d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/model/api/InfoAudit.php

+ 1 - 1
app/model/api/InfoAudit.php

@@ -22,7 +22,7 @@ class InfoAudit extends Model
      * @param type $type
      */
     public function getItem($post,$is_admin=0){
-        if(empty($parms)){
+        if(empty($post)){
             return [];
         }
         $where=[];