@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | //check if email is valid for sanity |
| 69 | 69 | if (!filter_var($email, FILTER_VALIDATE_EMAIL)) { |
| 70 | 70 | $email = htmlspecialchars($email); |
| 71 | - throw new BlogocException("invalid email " . $email); |
|
| 71 | + throw new BlogocException("invalid email ".$email); |
|
| 72 | 72 | } |
| 73 | 73 | $sql = " |
| 74 | 74 | SELECT idusers, username, avatar, email, surname, name, creation_date, last_update, locked_out, role_name, role_level |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | $this->bind(':roles_idroles', 1); |
| 125 | 125 | $this->execute(); |
| 126 | 126 | |
| 127 | - return (int)$this->dbh->lastInsertId(); |
|
| 127 | + return (int) $this->dbh->lastInsertId(); |
|
| 128 | 128 | |
| 129 | 129 | } |
| 130 | 130 | } |
| 131 | 131 | \ No newline at end of file |