Block node is not displayed. I do not have i18n installed.
With the following code change (line 310), it works.

Original code. $node->language is a string, but $language is an object.

      // Don't show nodes in other languages than current. Integration with i18n node languages.
      global $language;
      if (empty($node->language) || $node->language == $language) {
        return array(

Modified code :

      // Don't show nodes in other languages than current. Integration with i18n node languages.
      global $language;
      if (empty($node->language) || $node->language == $language->language) {
        return array(
CommentFileSizeAuthor
#5 nodeasblock.module.patch661 bytesgaele

Comments

florent jousseaume’s picture

Same problem found today. No i18n module but same patch

Axi’s picture

Same problem, same resolution. :)

victorkane’s picture

Same here.

libeco’s picture

I too can confirm that this will fix the problem. Just spent a few hours trying to find out the solution before finding this. Thanks!

gaele’s picture

Status: Active » Needs review
StatusFileSize
new661 bytes

Patch

dropcube’s picture

Status: Needs review » Fixed

Committed. Thanks.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.