self reivew, simplify logic on checking if results is empty
这个提交包含在:
父节点
6330d5df77
当前提交
c2c2b0f395
共有 1 个文件被更改,包括 1 次插入 和 1 次删除
|
|
@ -81,7 +81,7 @@ function echoQrbCalcLink($mygrid, $grid, $vucc) {
|
|||
<?php
|
||||
|
||||
$i = 0;
|
||||
if(!empty($results) > 0) {
|
||||
if(!empty($results)) {
|
||||
foreach ($results->result() as $row) { ?>
|
||||
<?php echo '<tr class="tr'.($i & 1).'">'; ?>
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用