The Wayback Machine - https://web.archive.org/all/20061011163127/http://dev.punbb.org/changeset/333

Changeset 333

Show
Ignore:
Timestamp:
Sun Nov 20 18:59:35 2005
Author:
Rickard
Message:

Fixed calling message() from a plugin not always working.

Files:

Legend:

Unmodified
Added
Removed
Modified
  • branches/punbb-1.3-dev/upload/include/functions.php

    r331 r333  
    553 553 function message($message, $no_back_link = false)  
    554 554 {  
    555           global $db, $pun_url, $lang_common, $pun_config, $pun_start, $tpl_main;  
      555         global $db, $pun_url, $lang_common, $pun_config, $pun_start, $tpl_main, $pun_user;  
    555 555  
    556 556         if (!defined('PUN_HEADER'))  
    557 557         {  
    558                   global $pun_user;  
    559    
    560 558                 $page_title = pun_htmlspecialchars($pun_config['o_board_title']).' / '.$lang_common['Info'];  
    561 559                 require PUN_ROOT.'header.php';