Dotclear

Changeset 2270:cd5dc1b0aca1


Ignore:
Timestamp:
10/04/13 22:14:55 (10 years ago)
Author:
Denis Jean-Chirstian <contact@…>
Branch:
default
Message:

Fix redirection on last module update and fix user agent on repository query

Location:
inc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.moduleslist.php

    r2269 r2270  
    854854                    } 
    855855 
     856                    $tab = count($updated) > 1 ? '' : '#'.$prefix; 
     857 
    856858                    $module = $updated[$id]; 
    857859                    $module['id'] = $id; 
     
    876878 
    877879                    dcPage::addSuccessNotice(__('Module has been successfully updated.')); 
    878                     http::redirect($this->getURL()); 
     880                    http::redirect($this->getURL().$tab); 
    879881               } 
    880882               else { 
  • inc/core/class.dc.store.php

    r2222 r2270  
    197197          try { 
    198198               $client = netHttp::initClient($url, $path); 
    199                $client->setUserAgent(self::agent()); 
     199               $client->setUserAgent($this->user_agent); 
    200200               $client->useGzip(false); 
    201201               $client->setPersistReferers(false); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map