Skip to content

Commit

Permalink
CRM-12499 static warning fix
Browse files Browse the repository at this point in the history
Conflicts:
	packages
  • Loading branch information
eileenmcnaughton committed Aug 15, 2014
1 parent 1037a25 commit e9f4be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Core/Permission/Base.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class CRM_Core_Permission_Base {
*
* @return NULL|string a permission name
*/
public function translatePermission($perm, $nativePrefix, $map) {
static public function translatePermission($perm, $nativePrefix, $map) {
list ($civiPrefix, $name) = CRM_Utils_String::parsePrefix(':', $perm, NULL);
switch ($civiPrefix) {
case $nativePrefix:
Expand Down

0 comments on commit e9f4be5

Please sign in to comment.