46,13 → 46,14 |
$DName = $secure->checkStr($_POST["dname"],1); |
$DUA = $secure->checkStr($_POST["dua"],1); |
$DType = $secure->checkInt($_POST["dtype"]); |
$DLogo = 0; |
|
|
if ($_FILES["distlogo"]["type"]!="") { |
$DLogo = $core->uploadPicture($picture, $DUA, $_FILES); |
$r = $core->updateDistribution($ID, $DName, $DType, $DUA, $DLogo); |
} |
|
$r = $core->updateDistribution($ID, $DName, $DType, $DUA, $DLogo); |
$r = $core->updateDistribution($ID, $DName, $DType, $DUA); |
if ($r["ERR"]==0) { |
header("Location: ".$manager."\n\n"); |
} else { |