incorrect block cache handling in fbconnect_invite_block_view cause 500 HTTP Internal Server Error.

CommentFileSizeAuthor
#1 cache_error-1262458-1.patch575 bytesdoka

Comments

doka’s picture

StatusFileSize
new575 bytes

change these two line of fbconnect_invite_block_view($delta) in fbconnect_invite.module
replace this one:

   if ($cached['data']) {
      $content = $cached['data'];

with this:

   if ($cached !== FALSE) {
      $content = $cached->data;

or apply patch attached.

doka’s picture

Status: Active » Needs review
giorgio79’s picture

Status: Needs review » Closed (duplicate)

This was committed here #1296370: Code Cleanup and Fixes