Fix API string values
This commit is contained in:
parent
c6e1e66cd9
commit
85ece01485
|
@ -1816,12 +1816,12 @@
|
||||||
'truncated' => False,
|
'truncated' => False,
|
||||||
'created_at'=> api_date($item['created']),
|
'created_at'=> api_date($item['created']),
|
||||||
'in_reply_to_status_id' => $in_reply_to_status_id,
|
'in_reply_to_status_id' => $in_reply_to_status_id,
|
||||||
'in_reply_to_status_id_str' => $in_reply_to_status_id,
|
'in_reply_to_status_id_str' => $in_reply_to_status_id_str,
|
||||||
'source' => (($item['app']) ? $item['app'] : 'web'),
|
'source' => (($item['app']) ? $item['app'] : 'web'),
|
||||||
'id' => intval($item['id']),
|
'id' => intval($item['id']),
|
||||||
'id_str' => (string) intval($item['id']),
|
'id_str' => (string) intval($item['id']),
|
||||||
'in_reply_to_user_id' => $in_reply_to_user_id,
|
'in_reply_to_user_id' => $in_reply_to_user_id,
|
||||||
'in_reply_to_user_id_str' => $in_reply_to_user_id,
|
'in_reply_to_user_id_str' => $in_reply_to_user_id_str,
|
||||||
'in_reply_to_screen_name' => $in_reply_to_screen_name,
|
'in_reply_to_screen_name' => $in_reply_to_screen_name,
|
||||||
'geo' => NULL,
|
'geo' => NULL,
|
||||||
'favorited' => $item['starred'] ? true : false,
|
'favorited' => $item['starred'] ? true : false,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user