mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-03 06:34:33 -04:00
Fixes for invitations
This commit is contained in:
parent
4aec8fcc5f
commit
91333a50f3
@ -59,7 +59,7 @@ class SetInviteDb
|
|||||||
$hashed_db = $hashids->decode($segments[0]);
|
$hashed_db = $hashids->decode($segments[0]);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(is_array($hashed_db)){
|
if(is_array($hashed_db) && ($hashed_db[0] == "01" || $hashed_db[0] == "02")){
|
||||||
|
|
||||||
MultiDB::setDB(MultiDB::DB_PREFIX.str_pad($hashed_db[0], 2, '0', STR_PAD_LEFT));
|
MultiDB::setDB(MultiDB::DB_PREFIX.str_pad($hashed_db[0], 2, '0', STR_PAD_LEFT));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user