#144 Using Advanced Skin causes Undefined Variable

closed-fixed
nobody
5
2007-10-14
2007-07-26
Big Husky
No

Starting a while ago with the svn version whenever a user selects the Advanced Skin under the Display Preferences all pages will display the following error:

SquirrelMail notice messages
Category: PHP
Message: Undefined variable: message_list_href
File: /var/www/html/webmail/templates/default_advanced/page_header.tpl
Line: 138

As soon as switching back to the default skin the message disappears.

The odd thing is that the default skin also uses that variable in the file read_menubar_nav.tpl but it's not causing an error.

It seems that the variable is originally defined in src/read_body.php:

$oTemplate->assign('message_list_href', $msg_list_href);

This is a default installation from svn without any plugins enabled. Tried it again with a checkout tonight, July 25th, 2007.

Discussion

    • status: open --> pending-fixed
     
  • Logged In: YES
    user_id=508228
    Originator: NO

    This has been fixed more recently. Thank you for spotting the problem. Unless you reply, this tracker will close automatically.

     
    • status: pending-fixed --> closed-fixed
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).