maked some update

This commit is contained in:
unknown
2012-05-17 22:44:42 +03:00
parent be725860f5
commit 40c9db856a
6 changed files with 58 additions and 54 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ class Profile {
$database->submitProfile($database->RemoveXSS($post['uid']),$database->RemoveXSS($post['mw']),$database->RemoveXSS($post['ort']),$database->RemoveXSS($birthday),$database->RemoveXSS($post['be2']),$database->RemoveXSS($post['be1']));
$varray = $database->getProfileVillages($post['uid']);
for($i=0;$i<=count($varray)-1;$i++) {
$database->setVillageName($database->RemoveXSS($varray[$i]['wref']),$database->RemoveXSS($post['dname'.$i]));
$database->setVillageName($database->RemoveXSS($varray[$i]['wref']),$post['dname'.$i]);
}
header("Location: ?uid=".$post['uid']);
}else{