Fix bug remember me with multiple dbs disabled

This commit is contained in:
Frederic Guillot 2015-03-30 20:29:48 -04:00
parent 401a60c7a7
commit 8c47ae3750
1 changed files with 1 additions and 1 deletions

View File

@ -229,7 +229,7 @@ function decode_cookie($value)
{
@list($database, $token, $sequence) = explode('|', $value);
if (! DatabaseModel\select(base64_decode($database))) {
if (ENABLE_MULTIPLE_DB && ! DatabaseModel\select(base64_decode($database))) {
return false;
}