From f0c2c3e7a48e565cab048de62331581184cfb174 Mon Sep 17 00:00:00 2001 From: Max Kremmel Date: Sat, 23 Dec 2006 15:44:22 +0000 Subject: centrally update user permissions if individual page permissions have been set. this might be a bold move, but it might also save us a lot of work and headaches --- lookup_page_inc.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'lookup_page_inc.php') diff --git a/lookup_page_inc.php b/lookup_page_inc.php index ca0fa1f..f496459 100644 --- a/lookup_page_inc.php +++ b/lookup_page_inc.php @@ -1,6 +1,6 @@ updateUserPermissions(); + // we weren't passed a structure, but maybe this page belongs to one. let's check... if( empty( $gStructure ) ) { //Get the structures this page is a member of -- cgit v1.3