Add files via upload

This commit is contained in:
Fernando Méndez
2021-06-03 16:53:11 +02:00
committed by GitHub
parent 3593f13c59
commit 5dfd0e8895
3 changed files with 13 additions and 6 deletions

View File

@ -63,7 +63,7 @@ class FormPurchase extends Form {
$this->code = intval(0);
if(isset($_POST["code"]) && $_POST["code"] !== ""){
if($promoDAO->GetPromotion($_POST["code"])->data_seek(0)){
$this->code = intval(3);
$this->code = intval(2);
}
}