Change the method to detect if the array exists for extensions.
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user