Brendan Abolivier пре 10 година
родитељ
комит
2a054e67bf
1 измењених фајлова са 3 додато и 1 уклоњено
  1. 3
    1
      web/class.connector.php

+ 3
- 1
web/class.connector.php Прегледај датотеку

68
 			}
68
 			}
69
 		}
69
 		}
70
 
70
 
71
-		if($stmt = $this->bdd->prepare($request)->execute($arrayVerif)) {
71
+		$stmt = $this->bdd->prepare($request);
72
+
73
+		if($stmt->execute($arrayVerif)) {
72
 			return $stmt->fetchAll();
74
 			return $stmt->fetchAll();
73
 		} else {
75
 		} else {
74
 			return null;
76
 			return null;