diff options
Diffstat (limited to 'Auth')
-rw-r--r-- | Auth/OpenID/MySQLStore.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Auth/OpenID/MySQLStore.php b/Auth/OpenID/MySQLStore.php index e87773d..8ae32b2 100644 --- a/Auth/OpenID/MySQLStore.php +++ b/Auth/OpenID/MySQLStore.php @@ -42,7 +42,8 @@ class Auth_OpenID_MySQLStore extends Auth_OpenID_SQLStore { ") ENGINE=InnoDB"; $this->sql['set_assoc'] = - "REPLACE INTO %s VALUES (?, ?, !, ?, ?, ?)"; + "REPLACE INTO %s (server_url, handle, secret, issued,\n". + " lifetime, assoc_type) VALUES (?, ?, !, ?, ?, ?)"; $this->sql['get_assocs'] = "SELECT handle, secret, issued, lifetime, assoc_type FROM %s ". |