Skip to content

Commit

Permalink
Update index.php
Browse files Browse the repository at this point in the history
Fix vor #294
  • Loading branch information
instantflorian authored Aug 27, 2017
1 parent 2ae6c62 commit 9c8fab4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wbce/admin/pages/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ function parent_list($parent){
$module_permissions = $_SESSION['MODULE_PERMISSIONS'];
// Modules list
$template->set_block('main_block', 'module_list_block', 'module_list');
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function LIKE '%page% order by name");
$result = $database->query("SELECT * FROM ".TABLE_PREFIX."addons WHERE type = 'module' AND function LIKE '%page%' order by name");
if($result->numRows() > 0) {
while ($module = $result->fetchRow()) {
// Check if user is allowed to use this module
Expand Down

0 comments on commit 9c8fab4

Please sign in to comment.