Changeset 1298


Ignore:
Timestamp:
May 3, 2006, 7:24:19 PM (18 years ago)
Author:
nikrou
Message:

bug 331 fixed: html generated contains the code in header.tpl twice
when we use the function redirect
svn merge -r1296:1297 from branch 1.6 into trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions.inc.php

    r1290 r1298  
    527527  global $user, $template, $lang_info, $conf, $lang, $t2, $page, $debug;
    528528
     529  unset($template);
     530  $template = new Template(PHPWG_ROOT_PATH.'template/'.$user['template']);
     531  if (!isset($page['body_id']))
     532  {
     533    $page['body_id'] = 'adminPage';
     534  }
     535
    529536  // $redirect_msg, $refresh, $url_link and $title are required for creating an automated
    530537  // refresh page in header.tpl
Note: See TracChangeset for help on using the changeset viewer.