Skip to content
This repository was archived by the owner on Aug 2, 2020. It is now read-only.

Commit b81f882

Browse files
committed
Fix potential undefined variable
Fix potential undefined variable in footer
1 parent 3e7692f commit b81f882

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/main/includes/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
});
2525
var imgdata = null;
2626
var pdfdata = null;
27-
<?php if (isset($_GET['medit']) && isset($edit) && is_a($edit,'File') || is_a($edit,'Folder')) { ?>
27+
<?php if (isset($_GET['medit']) && (isset($edit) && is_a($edit,'File') || is_a($edit,'Folder'))) { ?>
2828
$('#edit-modal').modal('open');
2929
$('#edit-file-content').trigger('autoresize');
3030
<?php }

0 commit comments

Comments
 (0)