Changeset 1356 for plugins

Show
Ignore:
Timestamp:
11/26/08 03:26:59 (6 weeks ago)
Author:
chrismeller
Message:

route301: Fixing an array_merge() with handler_vars that was broken by superglobal changes. Your feeds should now work again, hurray!

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • plugins/route301/trunk/route301.plugin.php

    r1310 r1356  
    108108        { 
    109109            if ( $action === 'atom_feed' ) { 
    110                 $url = URL::get( 'atom_feed', array_merge( array( 'index' => 1 ), $this->handler_vars ), false ); 
     110                if ( !isset( $this->handler_vars['index'] ) ) { 
     111                    $this->handler_vars['index'] = 1; 
     112                } 
     113                $url = URL::get( 'atom_feed', $this->handler_vars, false ); 
    111114            } else 
    112115            if ( $action === 'display_entry' ) {