Skip to content

Commit

Permalink
Update dorf1.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadowss committed Mar 4, 2014
1 parent e662499 commit ecbb939
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dorf1.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
$database->updateUserField($session->uid,'ok','0','1'); $_SESSION['ok'] = '0';
}
if(isset($_GET['newdid'])) {
$_SESSION['wid'] = $_GET['newdid'];
$_SESSION['wid'] = $_GET['newdid'];
$database->query("UPDATE ".TB_PREFIX."users SET village_select=".$_GET['newdid']." WHERE id=".$session->uid);
header("Location: ".$_SERVER['PHP_SELF']);
}else{
$building->procBuild($_GET);
Expand Down

0 comments on commit ecbb939

Please sign in to comment.