Ignore:
Timestamp:
Apr 18, 2011, 12:33:12 AM (13 years ago)
Author:
LucMorizur
Message:

Fix bug:2267 « "Test" link in "autolog entries" admin page doesn't work »

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/event_cats/main.inc.php

    r10059 r10458  
    4444define( // -------------------------------------------------------------------
    4545  'EVNTCATS_INFO_VERSION', // VERSION HISTORY :
    46    '1.2.5' // Compatibility with Piwigo 2.2 (svn:10052)
     46   '1.2.6' // Fix bug 2267 « "Test" link in "autolog entries" admin page
     47//            doesn't work », and small improvements
     48// '1.2.5' // Compatibility with Piwigo 2.2 (svn:10052)
    4749// '1.2.4' // Fix bug 2135: Constant ROOT_URL already defined; replaced by
    4850//         // EC_ROOT_URL
     
    135137      $url = '';
    136138      foreach ($_GET as $item => $value) {
    137         $url.= '&'.$item.'='.$value;
     139        if ($url != '') $url.='&';
     140        $url.= $item.'='.$value;
    138141      }
    139142      logout_user();
    140       redirect(make_index_url().$url);
     143      redirect(get_absolute_root_url().'index.php?'.$url);
    141144    }
    142145    build_ec_lists();
Note: See TracChangeset for help on using the changeset viewer.