Dotclear

Changeset 886:0aace9ddf8a1 for inc


Ignore:
Timestamp:
10/06/12 08:45:42 (13 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
formfilters
Message:

Oops, should works too with standard admin modules

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/class.dc.filter.php

    r885 r886  
    237237                              $this->eextra->save(); 
    238238                         } 
    239                          http::redirect($this->action.(strpos($this->action,'?') === 0 ? '?' : '&').http_build_query($data,'','&')); 
     239                         $query = http_build_query($data,'','&'); 
     240                         if ($query != '') { 
     241                              $query = (strpos($this->action,'?') === false ? '?' : '&').$query; 
     242                         } 
     243                         http::redirect($this->action.$query); 
    240244                         exit; 
    241245                    } 
Note: See TracChangeset for help on using the changeset viewer.

Sites map