diff --git a/Web/app.py b/Web/app.py index 2cb563c..d90bd41 100755 --- a/Web/app.py +++ b/Web/app.py @@ -7327,7 +7327,7 @@ def zurueckgeben(id): current_permissions = us.get_effective_permissions(session['username']) - if not item.get('Verfuegbar', True) and (current_permissions['actions'].get('can_manage_users', False)) or item.get('User') == username): + if not item.get('Verfuegbar', True) and (current_permissions['actions'].get('can_manage_users', False)) or item.get('User') == username: try: # Get ALL active borrowing records for this item and complete them client = MongoClient(MONGODB_HOST, MONGODB_PORT)