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 1aa2547358
commit 2378ace5a8
1 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ require_once "resources/paging.php";
echo "</td>\n";
echo "</tr>\n";
if ($num_rows > 0) {
if (is_array($extensions)) {
foreach($extensions as $row) {
$tr_link = (permission_exists('extension_edit')) ? " href='extension_edit.php?id=".$row['extension_uuid']."'" : null;