Commit 4f5cc0cd by Jesse O'Brien

Add semi-colon onto padding to be safe.

parent 404b5973
......@@ -115,7 +115,7 @@ class Response {
{
$headers['Content-Type'] = 'application/javascript; charset=utf-8';
return new static($callback.'('.json_encode($data).')', $status, $headers);
return new static($callback.'('.json_encode($data).');', $status, $headers);
}
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment