Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
smradius
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
shail
smradius
Commits
609aa9b6
Commit
609aa9b6
authored
15 years ago
by
Robert Anderson
Browse files
Options
Downloads
Patches
Plain Diff
Improved formatting
parent
45d80844
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
webgui/include/ajax/functions/AdminUserAttributes.php
+9
-1
9 additions, 1 deletion
webgui/include/ajax/functions/AdminUserAttributes.php
with
9 additions
and
1 deletion
webgui/include/ajax/functions/AdminUserAttributes.php
+
9
−
1
View file @
609aa9b6
...
...
@@ -16,7 +16,15 @@ function getAdminUserAttributes($params) {
'Disabled'
=>
'user_attributes.Disabled'
);
$res
=
DBSelectSearch
(
"SELECT ID, Name, Operator, Value, Disabled FROM user_attributes WHERE UserID =
$params[0]",$params[1]
,
$filtersorts
,
$filtersorts
);
$res
=
DBSelectSearch
(
"
SELECT
ID, Name, Operator, Value, Disabled
FROM
user_attributes
WHERE
UserID = "
.
DBQuote
(
$params
[
0
])
.
"
"
,
$params
[
1
],
$filtersorts
,
$filtersorts
);
$sth
=
$res
[
0
];
$numResults
=
$res
[
1
];
# If STH is blank, return the error back to whoever requested the data
if
(
!
isset
(
$sth
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment