drush alerted me to this:

PHP Notice: Undefined variable: nodes in /var/www/html/drupal-dev/sites/example.com/modules/contrib/relevant_content/relevant_content.module on line 430
PHP Notice: Undefined variable: header in /var/www/html/drupal-dev/sites/example.com/modules/contrib/relevant_content/relevant_content.module on line 430

Patch attached.

Comments

mrfelton’s picture

StatusFileSize
new513 bytes
mrfelton’s picture

StatusFileSize
new514 bytes

Oops, problem in above patch. Use this one instead.

naxoc’s picture

Status: Needs review » Reviewed & tested by the community

I ran into this same problem today and the fix I wrote is exactly the same as the one mrfelton wrote. I really gotta learn to search for issues before I write code myself :)

The patch looks good, so RTBC from me.

nicholasthompson’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Fixed in dev as part of the rewrite. Cheers for picking this up guys. What a silly mistake! ;)