1
0
Fork 0

Merge remote-tracking branch 'origin/devel' into feature/ldap-auth

This commit is contained in:
baslr 2017-03-14 10:56:47 +01:00
commit 6f4d94257c
1 changed files with 1 additions and 2 deletions

View File

@ -1544,8 +1544,7 @@ AqlValue Functions::Attributes(arangodb::aql::Query* query,
VPackBuilder result;
result.openArray();
for (auto const& it : keys) {
TRI_ASSERT(!it.empty());
if (removeInternal && it.at(0) == '_') {
if (removeInternal && !it.empty() && it.at(0) == '_') {
continue;
}
result.add(VPackValue(it));