summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhass2015-03-21 18:40:17 (GMT)
committerhass2015-03-21 18:40:17 (GMT)
commitbe4991498d5494cd4961d7e748b1ef2e9a07581f (patch)
treeb85f9db4e7dc5e5125c710243c321b62e5323ddb
parent99effbf4342257fd256c117c30fbff6a414b8d96 (diff)
PHP 5.4 incompatibility fix5.x-1.x
-rw-r--r--googleanalytics.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/googleanalytics.module b/googleanalytics.module
index 0ed588b..da8493f 100644
--- a/googleanalytics.module
+++ b/googleanalytics.module
@@ -109,7 +109,7 @@ function googleanalytics_footer($main = 0) {
// Add User profile segmentation values
if (is_array($profile_fields = variable_get('googleanalytics_segmentation', '')) && ($user->uid > 0)) {
- $p = module_invoke('profile', 'load_profile', $user);
+ $p = profile_load_profile($user);
$fields = array();
foreach ($profile_fields as $field => $title) {