@@ -39,7 +39,9 @@ class Set
$info = is_array($info) ? $info : Dever::db($table)->one($info);
$other = Dever::db($type . '/info')->find($info[$type . '_id']);
-
+ if (!$other) {
+ return '';
+ }
if ($type == 'store') {
return $this->statDate($info['type'], $info['day']) . '与'.$other['name'].'对账单数量是否正确<br />对账数量' . $info['num'] . '个';
}