From 05a15b77aee78f118114a2c1c6c04eef00475852 Mon Sep 17 00:00:00 2001 From: yi12345 Date: Tue, 3 Apr 2012 19:08:40 +0300 Subject: [PATCH] Update nachrichten.php --- nachrichten.php | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/nachrichten.php b/nachrichten.php index 94dad1bc..5cb5558c 100644 --- a/nachrichten.php +++ b/nachrichten.php @@ -17,6 +17,16 @@ $message->procMessage($_POST); if(isset($_GET['t'])){ $automation->isWinner(); } +if(isset($_GET['newdid'])) { + $_SESSION['wid'] = $_GET['newdid']; +if(isset($_GET['t'])) { + header("Location: ".$_SERVER['PHP_SELF']."?t=".$_GET['t']); +}else if(isset($_GET['id'])) { + header("Location: ".$_SERVER['PHP_SELF']."?id=".$_GET['id']); +}else{ + header("Location: ".$_SERVER['PHP_SELF']); +} +} ?>