Ignore:
Timestamp:
Jul 30, 2012, 10:49:31 AM (12 years ago)
Author:
mistic100
Message:

update for 2.4 url styles

File:
1 edited

Legend:

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

    r16858 r17206  
    4949  global $page, $template, $conf;
    5050 
    51   if ('element_set_ranks' == $page['page'] and isset($_GET['reset_manual_order']))
     51  if ('album' == $page['page'] and 'sort_order' == @$_GET['tab'] and isset($_GET['reset_manual_order']))
    5252  {
    5353    $query = '
     
    102102
    103103    $_SESSION['reset_manual_order'] = true;
    104     redirect(get_root_url().'admin.php?page=element_set_ranks&cat_id='.$_GET['cat_id']);
     104    redirect(get_root_url().'admin.php?page=album-'.$_GET['cat_id'].'-sort_order');
    105105  }
    106106}
Note: See TracChangeset for help on using the changeset viewer.