Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
oliveratgithub committed Nov 3, 2019
2 parents b716771 + 8c1428c commit b17f749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/includes/smarty.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function load_navigation($tpl_id, &$smarty)
while ($menu = $db->fetch($menusFound))
{
/** Validate permissions */
error_log(sprintf('[DEBUG] <%s:%d> Loading menu (template) %d', __FUNCTION__, __LINE__, $menu['tpl_id']));
if (DEVELOPMENT === true) error_log(sprintf('[DEBUG] <%s:%d> Loading menu (template) %d', __FUNCTION__, __LINE__, $menu['tpl_id']));
if (tpl_permission($menu['read_rights'], $menu['owner'])) $tplMenus[] = $menu['name'];
elseif (DEVELOPMENT === true) error_log(sprintf('[DEBUG] <%s:%d> No permissions to load menu (template) #%d: owner %d vs read_rights %d', __FUNCTION__, __LINE__, $menu['tpl_id'], $menu['owner'], $menu['read_rights']));
}
Expand Down

0 comments on commit b17f749

Please sign in to comment.