Commit b0406fc0 authored by ipinchuk's avatar ipinchuk Committed by Plazik

Issue #2553243 by ipinchuk: Incorrect watchdog() parameters

parent a874b60f
......@@ -167,7 +167,7 @@ function google_analytics_reports_api_report_data($params = array(), $cache_opti
}
else {
drupal_set_message(t('There was an authentication error. Please check your Google Analytics API settings and try again.'), 'error', FALSE);
watchdog('google analytics reports api', 'There was an authentication error. Please check your Google Analytics API settings and try again.', WATCHDOG_ERROR);
watchdog('google analytics reports api', 'There was an authentication error. Please check your Google Analytics API settings and try again.', array(), WATCHDOG_ERROR);
return array('error' => TRUE);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment