|
@@ -85,7 +85,7 @@
|
|
|
{
|
|
|
$colname=$result->columnName($i);
|
|
|
$colname = str_replace('_', ' ', $colname);
|
|
|
- if ($tableName.length < 5 || $i != 11) // column 11 = LARA, which is skipped since KNM10 (length 5, KNM9 and before length 4)
|
|
|
+ if (strlen($tableName) < 5 || $i != 11) // column 11 = LARA, which is skipped since KNM10 (length 5, KNM9 and before length 4)
|
|
|
{
|
|
|
if ($i < 5){
|
|
|
echo "<th>$colname</th>";
|
|
@@ -114,7 +114,7 @@
|
|
|
// store most recent entry (row=0) of latest campaign (index=0) for display in checklist.php
|
|
|
}
|
|
|
|
|
|
- if ($tableName.length < 5 || $i != 11) // skip column 11 = LARA, which is true since KNM10 (length 5, KNM9 and before length 4)
|
|
|
+ if (strlen($tableName) < 5 || $i != 11) // skip column 11 = LARA, which is true since KNM10 (length 5, KNM9 and before length 4)
|
|
|
{
|
|
|
if ($value == "good"){
|
|
|
echo "<th id='green'>$value</th>";
|