From c1dd108198cfdb1359a7f8d57ce140447712b7fc Mon Sep 17 00:00:00 2001 From: Alex Pott Date: Tue, 9 Sep 2014 11:07:45 +0100 Subject: [PATCH] Issue #2295469 followup by damiankloip: Add support for static permission definitions with *.permissions.yml. --- core/modules/user/src/PermissionHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/user/src/PermissionHandler.php b/core/modules/user/src/PermissionHandler.php index 436e11e9717..2336593c33f 100644 --- a/core/modules/user/src/PermissionHandler.php +++ b/core/modules/user/src/PermissionHandler.php @@ -127,7 +127,7 @@ class PermissionHandler implements PermissionHandlerInterface { if (!is_array($permission)) { $permission = array( 'title' => $permission, - 'description' => NULL,`` + 'description' => NULL, ); } $permission['provider'] = $provider;