fix undefined array index warning
这个提交包含在:
父节点
9e422756f9
当前提交
a311be9dd2
共有 1 个文件被更改,包括 6 次插入 和 0 次删除
|
|
@ -68,6 +68,12 @@ class DXCC extends CI_Model {
|
||||||
}
|
}
|
||||||
|
|
||||||
// update stats
|
// update stats
|
||||||
|
if (!isset($results[$row->COL_COUNTRY]))
|
||||||
|
$results[$row->COL_COUNTRY] = [];
|
||||||
|
|
||||||
|
if (!isset($results[$row->COL_COUNTRY][$row->COL_BAND]))
|
||||||
|
$results[$row->COL_COUNTRY][$row->COL_BAND] = 0;
|
||||||
|
|
||||||
$results[$row->COL_COUNTRY][$row->COL_BAND] += $row->cnt;
|
$results[$row->COL_COUNTRY][$row->COL_BAND] += $row->cnt;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
正在加载…
在新工单中引用