Skip to content

Commit 28c8f35

Browse files
committed
correction for sorting in tables
the check for -1 give a wrong answer, we need to check for false.
1 parent a63dd7d commit 28c8f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adm_program/system/classes/htmltable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public function addRowByArray($arrayColumnValues, $id = null, $arrAttributes = n
160160
}
161161

162162
// if body area wasn't defined until now then do it
163-
if($this->tbody == -1)
163+
if($this->tbody == false)
164164
{
165165
$this->addTableBody();
166166
}

0 commit comments

Comments
 (0)