Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mahara
mahara
Commits
f9e99f13
Commit
f9e99f13
authored
Dec 05, 2006
by
Nigel McNie
Committed by
Nigel McNie
Dec 05, 2006
Browse files
Minor cleanup
parent
2119918f
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/json/usersearch.php
View file @
f9e99f13
...
...
@@ -29,7 +29,7 @@ define('INTERNAL', 1);
require
(
dirname
(
dirname
(
__FILE__
))
.
'/init.php'
);
require
(
'searchlib.php'
);
safe_require
(
'search'
,
'internal'
,
'lib.php'
,
'require_once'
);
safe_require
(
'search'
,
'internal'
);
try
{
$query
=
param_variable
(
'query'
);
...
...
@@ -57,6 +57,6 @@ foreach ($data['data'] as &$result) {
json_headers
();
$data
[
'error'
]
=
false
;
$data
[
'message'
]
=
''
;
print
json_encode
(
$data
);
echo
json_encode
(
$data
);
?>
Write
Preview
Supports
Markdown
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