Change the method to detect if the array exists for extensions.

This commit is contained in:
markjcrane
2016-05-07 17:27:27 -06:00
parent 1637b5c518
commit f9f57fffa6
+1 -1
View File
@@ -177,7 +177,7 @@ require_once "resources/paging.php";
echo "</td>\n"; echo "</td>\n";
echo "</tr>\n"; echo "</tr>\n";
if ($num_rows > 0) { if (is_array($extensions)) {
foreach($extensions as $row) { foreach($extensions as $row) {
$tr_link = (permission_exists('extension_edit')) ? " href='extension_edit.php?id=".$row['extension_uuid']."'" : null; $tr_link = (permission_exists('extension_edit')) ? " href='extension_edit.php?id=".$row['extension_uuid']."'" : null;