When a search returns an empty result we are getting the following error:

Notice: Undefined variable: show_synonyms in include() (line 19 of /var/aegir/platforms/eps-3.0.2-drupal-7.14/profiles/eps/modules/contrib/google_appliance/theme/google-appliance-results.tpl.php).

This error can be fixed by adding an isset check to that variable on line 19. Change this:

<?php if ($show_synonyms) : ?>

to this:

 <?php if (isset($show_synonyms)) : ?>

Comments

mpgeek’s picture

@broeker, how do you feel about making a patch so I can quick-turn this?

broeker’s picture

Here you go . . .

mpgeek’s picture

Status: Active » Needs review
mpgeek’s picture

Works in my environments. What about yours @broeker?

mpgeek’s picture

Status: Needs review » Closed (fixed)

See stable release 7.x-1.9.

mpgeek’s picture

Issue summary: View changes

fixed code