Changeset 9424


Ignore:
Timestamp:
Feb 28, 2011, 4:35:46 PM (9 years ago)
Author:
patdenice
Message:

Avoid error on redirection if $confcategory_url_style = 'id-name'

File:
1 edited

Legend:

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

    r8314 r9424  
    7777          $url_params['category'] = array('id' => $m2[3], 'name' => '', 'permalink' => '');
    7878        }
    79         $url .= make_picture_url($url_params);
     79        $url .= rtrim(make_picture_url($url_params), '-');
    8080        break;
    8181
    8282        case 'cat':
    8383        $url_params = array('category' => array('id' => $m2[2], 'name' => '', 'permalink' => ''));
    84         $url .= make_index_url($url_params);
     84        $url .= rtrim(make_index_url($url_params), '-');
    8585        break;
    8686
Note: See TracChangeset for help on using the changeset viewer.