Commit 889a5c38 authored by zhuwei's avatar zhuwei

bug

parent 2f226900
......@@ -213,7 +213,7 @@ class ReportService
}
$data["result"] = $result;
$data["total"] = $count[0]["total"];
$data["total"] = $count[0]["total"] ? $count[0]["total"] : 0;
return $data;
}
return null;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment