SL-12486 Size check fix
parent
ae013b5c82
commit
c090cd32b8
|
|
@ -491,7 +491,7 @@ public:
|
|||
virtual bool hasCredentialMap(const std::string& storage,
|
||||
const std::string& grid)=0;
|
||||
|
||||
// returns true im map is empty or does not exist
|
||||
// returns true if map is empty or does not exist
|
||||
virtual bool emptyCredentialMap(const std::string& storage,
|
||||
const std::string& grid)=0;
|
||||
|
||||
|
|
|
|||
|
|
@ -1674,7 +1674,7 @@ bool LLSecAPIBasicHandler::emptyCredentialMap(const std::string& storage, const
|
|||
|
||||
LLSD credential = getProtectedData(storage, grid);
|
||||
|
||||
return !credential.isMap() || credential.emptyMap();
|
||||
return !credential.isMap() || credential.size() == 0;
|
||||
}
|
||||
|
||||
// Load map of credentials from specified credential store, given the grid
|
||||
|
|
|
|||
Loading…
Reference in New Issue