Skip to content
Snippets Groups Projects
Unverified Commit 96104ef1 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

s/print/echo

We'd like to stick with echo throughout the project
parent 0b693c35
No related branches found
No related tags found
No related merge requests found
......@@ -22,13 +22,13 @@ if (isset($_REQUEST['callback'])) {
}
$jsonp = true;
header('Content-Type: application/javascript');
print addslashes($_REQUEST['callback']) . '(';
echo addslashes($_REQUEST['callback']) . '(';
} else {
$jsonp = false;
header('Content-Type: application/json');
}
print json_encode(
echo json_encode(
[
'faventry' => $faventry,
'default' => $defaulttab,
......@@ -37,5 +37,5 @@ print json_encode(
);
if ($jsonp) {
print ');';
echo ');';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment