t() given incorrect arguments in function wikitools_handle_request()

smokris - July 20, 2009 - 13:43
Project:Wikitools
Version:5.x-1.3
Component:Code
Category:bug report
Priority:normal
Assigned:mehmeta
Status:needs review
Description

I'm getting the errors such as the following:

Invalid argument supplied for foreach() in .../includes/common.inc on line 851.
strtr(): The second argument is not an array in .../includes/common.inc on line 866.

It looks like t() is being called without an array as the second parameter. I've attached a patch for this.

AttachmentSize
wikitools-t.patch1.17 KB

#1

mehmeta - July 28, 2009 - 16:31
Assigned to:Anonymous» mehmeta
 
 

Drupal is a registered trademark of Dries Buytaert.