@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | { |
41 | 41 | $this->tablename = isset($config['table']) ? $config['table'] : 'tiqrusersecret'; |
42 | 42 | try { |
43 | - $this->handle = new PDO($config['dsn'],$config['username'],$config['password']); |
|
43 | + $this->handle = new PDO($config['dsn'], $config['username'], $config['password']); |
|
44 | 44 | } catch (PDOException $e) { |
45 | 45 | return false; |
46 | 46 | } |
@@ -73,6 +73,6 @@ discard block |
||
73 | 73 | } else { |
74 | 74 | $sth = $this->handle->prepare("INSERT INTO ".$this->tablename." (secret,userid) VALUES (?,?)"); |
75 | 75 | } |
76 | - $sth->execute(array($secret,$userId)); |
|
76 | + $sth->execute(array($secret, $userId)); |
|
77 | 77 | } |
78 | 78 | } |