diff options
author | hass | 2015-03-21 18:40:17 (GMT) |
---|---|---|
committer | hass | 2015-03-21 18:40:17 (GMT) |
commit | be4991498d5494cd4961d7e748b1ef2e9a07581f (patch) | |
tree | b85f9db4e7dc5e5125c710243c321b62e5323ddb | |
parent | 99effbf4342257fd256c117c30fbff6a414b8d96 (diff) |
PHP 5.4 incompatibility fix5.x-1.x
-rw-r--r-- | googleanalytics.module | 2 |
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) { |