kopia lustrzana https://github.com/magicbug/Cloudlog
self reivew, simplify logic on checking if results is empty
rodzic
6330d5df77
commit
c2c2b0f395
|
@ -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).'">'; ?>
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue