commit e862137a9feb0fa0829da417abf8a02fa168e338
parent 67bc7fd0863c7b6bf782aa4498bf45de6abd6f4f
Author: MTRNord <mtrnord1@gmail.com>
Date: Tue, 17 Mar 2015 18:12:43 +0100
why?
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/api/v1/DbHandler.class.php b/core/api/v1/DbHandler.class.php
@@ -123,7 +123,7 @@ class DbHandler {
private function isUserExists($email) {
$stmt = $this->conn->prepare("SELECT id from users WHERE email = ?");
echo $email;
- //$stmt->bind_param("s", $email);
+ $stmt->bind_param("s", $email);
$stmt->execute();
$stmt->store_result();
$num_rows = $stmt->num_rows;