Brendan Abolivier 10 lat temu
rodzic
commit
5d604677d9
1 zmienionych plików z 5 dodań i 1 usunięć
  1. 5
    1
      web/class.connector.php

+ 5
- 1
web/class.connector.php Wyświetl plik

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