|
|
@@ -69,7 +69,8 @@ class user {
|
|
|
. "FROM " . DB_T_USER . " "
|
|
|
. "WHERE " . DB_T_USER . ".email = :email");
|
|
|
db::bind(':email', $_email);
|
|
|
- return db::single()["googleAuthenticator"];
|
|
|
+ $return = db::single();
|
|
|
+ return (isset($return["googleAuthenticator"])) ? $return["googleAuthenticator"] : 0;
|
|
|
}
|
|
|
|
|
|
public static function connect(array $_input) {
|