Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Fixed bug with redirect and tasks.
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Dec 4, 2010
1 parent 9b04385 commit 734fd9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion system/foundation.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,12 @@ public function Load ( $pRoute ) {
public function Redirect ( $pRoute ) {
eval ( GLOBALS );

// Reset the Context in the request data, to avoid confusion forms that user Synchronize.
// Reset the Context in the request data, to avoid confusion forms that use Synchronize.
$this->GetSys ( 'Request' )->Set ( 'Context', null );

// Reset the Task to avoid confusion
$this->GetSys ( 'Request' )->Set ( 'Task', null );

$request = 'http://' . ASD_DOMAIN . $this->GetSys ( 'Router' )->Get ( 'Request' );
$this->GetSys ( 'Request' )->Set ( 'Redirect', base64_encode ( $request ) );

Expand Down

0 comments on commit 734fd9e

Please sign in to comment.