Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue #1316032 - PHP Notice: Undefined variable: sid in facebook_stat…

…us.module on line 1231
  • Loading branch information...
commit 56f87ef101f683a14eab26e4f85a69de522772d4 1 parent 238cb3a
@IceCreamYou authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 facebook_status.module
View
4 facebook_status.module
@@ -1227,8 +1227,8 @@ function facebook_status_token_values($type, $data = NULL, $options = array()) {
'status-url' => $url,
'status-edit' => $edit,
'status-delete' => $delete,
- 'status-comment-count' => (module_exists('fbss_comments')) ? fbss_comments_count_comments($status->sid) : 0,
- 'comments-email' => theme('fbss_comments_items_email', fbss_comments_get_comments($sid, TRUE), $url),
+ 'status-comment-count' => module_exists('fbss_comments') ? fbss_comments_count_comments($status->sid) : 0,
+ 'comments-email' => module_exists('fbss_comments') ? theme('fbss_comments_items_email', fbss_comments_get_comments($status->sid, TRUE), $url) : '',
'created' => format_date($status->created, 'small'),
);
$values += token_get_date_token_values($status->created, 'created-');
Please sign in to comment.
Something went wrong with that request. Please try again.