Commit 898c33f3 authored by Leigh B Stoller's avatar Leigh B Stoller

Minor bug fix.

parent 2b9c85c5
......@@ -229,7 +229,7 @@ function SPITAJAX_RESPONSE($value)
function SPITAJAX_ERROR($code, $msg)
{
$results = array(
'code' => code,
'code' => $code,
'value' => $msg
);
echo json_encode($results);
......
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