forked from mantisbt-plugins/timetracking
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Undefined variable notice: query_pull_timerecords
When the view_bug_time() function was called by a user without access to timetracking information, the variable $query_pull_timerecords was not initialized, resulting in a SYSTEM_NOTICE warning and subsequent error #1065: Query was empty for the query: . Now the function exits when the user does not have access.
- Loading branch information
Showing
1 changed file
with
21 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters