Fix PHP notice
authorpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Aug 2007 19:18:09 +0000 (19:18 +0000)
committerpdontthink <pdontthink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Tue, 28 Aug 2007 19:18:09 +0000 (19:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@12611 7612ce4b-ef26-0410-bec9-ea0150e637f0

templates/default_advanced/page_header.tpl

index 4befc0d2db65dd6f6a37962c8a01e9a9e1de8bfb..d85ef9b9c7bf81bb83fb370b11f45d4c2892f9cd 100644 (file)
@@ -134,8 +134,10 @@ $help_link         = makeInternalLink ('src/help.php', $help_str);
    { document.location = page_load_uri; }
    function refresh_message_list()
    {
+<?php if (!empty($message_list_href)) { ?>
       if (typeof(parent.right.delayed_page_load) != 'undefined')
          parent.right.delayed_page_load("<?php echo $message_list_href; ?>");
+<?php } ?>
    }
 <?php