From 8508b8e119509fddd6a9b6e51771edd6fc8a2761 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sun, 25 Jun 2017 13:28:43 +0100 Subject: [PATCH] global PALANG --- model/DomainHandler.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/model/DomainHandler.php b/model/DomainHandler.php index 67a929ec..3acf7450 100644 --- a/model/DomainHandler.php +++ b/model/DomainHandler.php @@ -187,6 +187,8 @@ class DomainHandler extends PFAHandler { * @return true on success false on failure */ public function delete() { + global $PALANG; + # TODO: check for _can_delete instead if (! $this->is_superadmin) { $this->errormsg[] = Config::Lang_f('no_delete_permissions', $this->id);