Ver código fonte

Fix PHP notice

pdontthink 18 anos atrás
pai
commit
da9fdba01f
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      templates/default_advanced/page_header.tpl

+ 2 - 0
templates/default_advanced/page_header.tpl

@@ -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