-
In Report->Manage Reports, the 5 Boolean settings saved for each report (E.g. Global, Include link in menu, Include standard header/trailer, Include previous/next links, Include empty dates) are not displaying their correct values when a user edits the report. They always display 'No'. There are too many parenthesis enclosing the '?' operator in the code. Because of the extra set of...
2008-11-20 18:19:56 UTC in WebCalendar
-
I forgot to reference the file, line number, and version of the fix.
Version 1.2.0
/includes/menu/index.php
Line 566
if ( $menuConfig['User Access Control'] && access_is_enabled () &&
( $is_admin && // Only display menu if user is admin AND UAC is enabled for user.
2008-11-19 23:43:06 UTC in WebCalendar
-
The menu item Settings->User Access Control is displaying for all admin users, even if User Access Control is disabled for that particular admin user. The proper behavior if for the menu item to only display if the user is an admin AND the User Access Control is granted to the admin user. Below is the one line code fix
if ( $menuConfig['User Access Control'] && access_is_enabled () &&.
2008-11-19 23:37:01 UTC in WebCalendar
-
Here is a slight update to my previous patch
$query_params[] = $user; // 0 && $layers ) { //
2008-11-19 23:09:00 UTC in WebCalendar
-
Only events owned by the user are displaying in reports. After reviewing the code in query_events(), it appears that the intended behavior is to also display layered events in reports. Here is the bug fix for version 1.2.0. I also tested it on 1.1.6 earlier today as well. It's one a one line addition to the code.
On Line 4975 of /includes/functions.php add the commented...
2008-11-18 01:38:07 UTC in WebCalendar