Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding text/javascript content type as returned by facebook

  • Loading branch information...
commit 74725cf80992f39dda673247415bfb18a739785e 1 parent 304d6db
Neil Crookes authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  models/datasources/rest_source.php
1  models/datasources/rest_source.php
View
@@ -138,6 +138,7 @@ public function request(&$model) {
unset($Xml);
break;
case 'application/json':
+ case 'text/javascript':
$response = json_decode($response, true);
break;
}
Please sign in to comment.
Something went wrong with that request. Please try again.