Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
intranet-timesheet2-invoices
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
intranet-timesheet2-invoices
Commits
c8afdbe1
Commit
c8afdbe1
authored
Mar 23, 2020
by
Frank Bergmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fixed wrong reference variables in im_timesheet_invoice_permissions
parent
ce3c2013
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
intranet-timesheet2-invoices-procs.tcl
tcl/intranet-timesheet2-invoices-procs.tcl
+9
-9
No files found.
tcl/intranet-timesheet2-invoices-procs.tcl
View file @
c8afdbe1
...
...
@@ -28,15 +28,15 @@ ad_proc -public im_timesheet_invoice_permissions {
Fill the
"by-reference"
variables read, write and admin
with the permissions of
$current
_user_id on
$user
_id
}
{
upvar
$view
_var view
upvar
$read
_var read
upvar
$write
_var write
upvar
$admin
_var admin
set view 0
set read 0
set write 0
set admin 0
upvar
$view
_var view
_p
upvar
$read
_var read
_p
upvar
$write
_var write
_p
upvar
$admin
_var admin
_p
set view
_p
0
set read
_p
0
set write
_p
0
set admin
_p
0
im_cost_permissions
$current
_user_id
$invoice
_id view_p read_p write_p admin_p
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment