Changeset 2620 for trunk/include


Ignore:
Timestamp:
Sep 28, 2008, 5:12:43 PM (16 years ago)
Author:
patdenice
Message:

Bug 871: guest is not saved in history table

File:
1 edited

Legend:

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

    r2521 r2620  
    515515  global $conf, $user, $page;
    516516
    517   $do_log = true;
    518   if (!$conf['log'])
    519   {
    520     $do_log = false;
    521   }
    522   if (is_admin() and !$conf['history_admin'])
    523   {
    524     $do_log = false;
    525   }
    526   if (is_a_guest() and !$conf['history_guest'])
    527   {
    528     $do_log = false;
     517  $do_log = $conf['log'];
     518  if (is_admin())
     519  {
     520    $do_log = $conf['history_admin'];
     521  }
     522  if (is_a_guest())
     523  {
     524    $do_log = $conf['history_guest'];
    529525  }
    530526
Note: See TracChangeset for help on using the changeset viewer.