$subformat was being set rather than checked in if statement

Line 266, changed = to == so the if statement works.
This commit is contained in:
laf
2013-12-05 11:47:19 +00:00
parent ab23cbe144
commit 94eb372945
+1 -1
View File
@@ -263,7 +263,7 @@ if($format == "graph")
} else {
echo('<table cellspacing="0" class="devicetable sortable" width="100%">');
if ($subformat = "detail")
if ($subformat == "detail")
{
echo('<tr class="tablehead">
<th></th>