Skip to content
Snippets Groups Projects
Commit 099e0e1e authored by lobo's avatar lobo
Browse files

Merge pull request #1674 from systopia/CRM-13440

proposed patch for CRM-13440
parents bcaf9194 550b2acf
No related branches found
No related tags found
No related merge requests found
...@@ -562,7 +562,8 @@ class CRM_Core_Block { ...@@ -562,7 +562,8 @@ class CRM_Core_Block {
} }
// do nothing // do nothing
} }
elseif (!CRM_Core_Permission::check('access CiviCRM')) { // require 'access CiviCRM' permissons, except for the language switch block
elseif (!CRM_Core_Permission::check('access CiviCRM') && $id!=self::LANGSWITCH) {
return NULL; return NULL;
} }
elseif ($id == self::ADD) { elseif ($id == self::ADD) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment