Needs review
Project:
Google Search Appliance
Version:
6.x-2.0-beta1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Aug 2010 at 19:40 UTC
Updated:
12 Jul 2013 at 14:03 UTC
Jump to comment: Most recent file
Comments
Comment #1
coderintherye commented+1 For this. I was also getting this error. The proper way to use t is to escape the variables, as shown at http://api.drupal.org/api/drupal/includes--common.inc/function/t/6
So here is a patch which does that.
Comment #2
coderintherye commentedOn a side note, the reason I saw "array" was because $title was getting passed as NULL. Presumably from:
Might be nice to add into the theme function that if $title is NULL to set it to 'Search results'. This is in the function declaration, but you have already declared it as NULL prior so it seems to stay as NULL when passed to the theme function.
Comment #3
lambic commentedPatch works for me