diff options
author | Dan Moore <dan@moore.cx> | 2009-04-18 15:33:36 -0400 |
---|---|---|
committer | Dan Moore <dan@moore.cx> | 2009-04-18 15:33:36 -0400 |
commit | 90fb7be99a74689de0d0e2409230d8bd515ac5c3 (patch) | |
tree | 0c2ba2ad7e518be56672d80b1dae28994bba2d31 /actions/twitapiusers.php | |
parent | bd41896f4ae4d5a052244cd2f6b40060da01bd43 (diff) |
Bringing the presentation of boolean variables (favorited, truncated, profile_background_tile) and the result from friendships/exist in JSON results from the Twitter Compatible API in line with what the real Twitter API does.
Currently, laconica returns text strings enclosed in quotes instead of bare Javascript booleans. This change fixes that.
See http://laconi.ca/trac/ticket/1326 for one open issue related to this.
Diffstat (limited to 'actions/twitapiusers.php')
-rw-r--r-- | actions/twitapiusers.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapiusers.php b/actions/twitapiusers.php index 2894b7486..41d0d955b 100644 --- a/actions/twitapiusers.php +++ b/actions/twitapiusers.php @@ -83,7 +83,7 @@ class TwitapiusersAction extends TwitterapiAction $twitter_user['profile_link_color'] = ''; $twitter_user['profile_sidebar_fill_color'] = ''; $twitter_user['profile_sidebar_border_color'] = ''; - $twitter_user['profile_background_tile'] = 'false'; + $twitter_user['profile_background_tile'] = false; $faves = DB_DataObject::factory('fave'); $faves->user_id = $user->id; |