Bläddra i källkod

Use this for now for better backwards compatibility

FusionPBX 1 vecka sedan
förälder
incheckning
dffe16fa73
1 ändrade filer med 1 tillägg och 1 borttagningar
  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 = permissions::new();
+			$p = new permissions;
 			$p->add("email_template_add", 'temp');
 			$p->add("email_template_edit", 'temp');