From 502137da7d88c9c8ca72840d3226995108803fbe Mon Sep 17 00:00:00 2001 From: Tristan Olive Date: Tue, 9 Jun 2015 12:55:16 -0400 Subject: [PATCH] Fixed user_access() call preventing moderation queue count from showing in menu (DBOINCP-102) --- drupal/sites/default/boinc/modules/boincuser/boincuser.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drupal/sites/default/boinc/modules/boincuser/boincuser.module b/drupal/sites/default/boinc/modules/boincuser/boincuser.module index 2d68cfc051..e9430010fa 100644 --- a/drupal/sites/default/boinc/modules/boincuser/boincuser.module +++ b/drupal/sites/default/boinc/modules/boincuser/boincuser.module @@ -1331,7 +1331,7 @@ function boincuser_moderate_community_access() { * Get the count of items in the moderation queue */ function boincuser_moderation_queue_count() { - if (user_access(array('edit any profile content'))) { + if (user_access('edit any profile content')) { return db_result(db_query(" SELECT COUNT(*) FROM {node}