Bug #179

a lot of "Notice: Undefined index" messages from Smarty

Added by Andreas Unterkircher 993 days ago. Updated 992 days ago.

Status:Closed Start:05/22/2009
Priority:Normal Due date:
Assigned to:Andreas Unterkircher % Done:

100%

Category:internals Spent time: 2.00 hours
Target version:1.7

Description

when error_reporting is turned on maximum, Smarty/PHP shows many messages about undefined variables like that ones:

Notice: Undefined index: date_search_enabled in /srv/www/.../templates_c/%%D0^D0B^D0BAFE5D%%search.tpl.php on line 54

Notice: Undefined index: rate_search_enabled in /srv/www/.../templates_c/%%D0^D0B^D0BAFE5D%%search.tpl.php on line 83

also the search-for-name field contains a <br /> when the sites is initially loaded

Associated revisions

Revision ea36e81b91c8689ae44d413eca4697d1993ac30b
Added by Andreas Unterkircher 992 days ago

avoid notice messages about undefined variables, resolves #179

Signed-off-by: Andreas Unterkircher <>

History

Updated by Andreas Unterkircher 993 days ago

  • Subject changed from several "Notice: Undefined index" messages from searcht.tpl to a lot of "Notice: Undefined index" messages appear with newer PHP version

Updated by Andreas Unterkircher 992 days ago

  • Subject changed from a lot of "Notice: Undefined index" messages appear with newer PHP version to a lot of "Notice: Undefined index" messages from Smarty

Updated by Andreas Unterkircher 992 days ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Updated by Andreas Unterkircher 992 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF