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']); +} +} ?>