Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
X
xowiki
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
xowiki
Commits
57478c21
Commit
57478c21
authored
Jan 01, 2018
by
cosine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- replaced ad_get_user_id
parent
dd157086
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
portlet.tcl
www/portlets/portlet.tcl
+1
-1
No files found.
www/portlets/portlet.tcl
View file @
57478c21
...
...
@@ -31,7 +31,7 @@ if {![info exists return_url]} { set return_url [im_url_with_query] }
set
url
[
ns_conn url
]
set
url_pieces
[
split
$url
"/"
]
set
last_url_piece
[
lindex
$url
_pieces end
]
set
user_id
[
a
d_get_user_id
]
set
user_id
[
a
uth::require_login
]
set
current_user_id
$user
_id
set
user_admin_p
[
im_is_user_site_wide_or_intranet_admin
$current
_user_id
]
set
current_url
[
im_url_with_query
]
...
...
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