mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-13 00:36:10 +01:00
Bug fixes
This commit is contained in:
@@ -652,7 +652,7 @@ def submitZoneDeletion(request):
|
||||
|
||||
if currentACL['admin'] == 1:
|
||||
if delZone.admin != admin:
|
||||
ACLManager.loadErrorJson()
|
||||
return ACLManager.loadErrorJson()
|
||||
|
||||
delZone.delete()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user