Commit 5e063536 authored by Francois Gannaz's avatar Francois Gannaz
Browse files

fix JSON parsing in session::fetch()

parent 2a327c6a
......@@ -159,6 +159,6 @@ class mod_labnbook_session
return $defaultValue;
}
curl_close($curl);
return json_encode($response);
return json_decode($response);
}
}
Supports Markdown
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