Explorar o código

Use the static permissions new method

FusionPBX hai 8 meses
pai
achega
c5451e5c90
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app_defaults.php

+ 1 - 1
app_defaults.php

@@ -56,7 +56,7 @@
 		//add the missing email templates
 		if (!empty($array['email_templates'])) {
 			//add the temporary permission
-			$p = new permissions;
+			$p = permissions::new();
 			$p->add("email_template_add", 'temp');
 			$p->add("email_template_edit", 'temp');