Skip to content
Snippets Groups Projects
Commit ba19783e authored by Thomas Lake's avatar Thomas Lake :wrench:
Browse files

Fix broken behaviour in previous commit. Oops.

parent 90b452ad
No related branches found
No related tags found
No related merge requests found
...@@ -307,7 +307,7 @@ function su_response_decode($text) { ...@@ -307,7 +307,7 @@ function su_response_decode($text) {
if (!$xml || isset($xml->head->title)) { if (!$xml || isset($xml->head->title)) {
return false; return false;
} else { } else {
return json_decode($x[0],TRUE); return json_decode($xml[0],TRUE);
} }
} }
......
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