소스 검색

Fixed Select method

Brendan Abolivier 9 년 전
부모
커밋
2a054e67bf
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. 3
    1
      web/class.connector.php

+ 3
- 1
web/class.connector.php 파일 보기

@@ -68,7 +68,9 @@ class Connector {
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 74
 			return $stmt->fetchAll();
73 75
 		} else {
74 76
 			return null;