diff options
Diffstat (limited to 'ipalib/plugins/f_user.py')
-rw-r--r-- | ipalib/plugins/f_user.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ipalib/plugins/f_user.py b/ipalib/plugins/f_user.py index 8a1c3045..9dbc93cb 100644 --- a/ipalib/plugins/f_user.py +++ b/ipalib/plugins/f_user.py @@ -231,6 +231,8 @@ class user_find(crud.Find): return result def forward(self, *args, **kw): users = super(crud.Find, self).forward(*args, **kw) + if not users: + return counter = users[0] users = users[1:] if counter == 0: |