From ff301288f2ea06d76606c05bccac5957e2873a94 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 11 Apr 2010 18:33:44 +0000 Subject: - Patch #348448 by mfb, c960657, marvil07, cdale, jpmckinney: fixed PHP strict warnings when running tests and for PHP 5.3. --- modules/trigger/trigger.module | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'modules/trigger') diff --git a/modules/trigger/trigger.module b/modules/trigger/trigger.module index ebbc538b5..93ed2485c 100644 --- a/modules/trigger/trigger.module +++ b/modules/trigger/trigger.module @@ -488,7 +488,8 @@ function trigger_user_login(&$edit, $account, $category) { * Implements hook_user_logout(). */ function trigger_user_logout($account) { - _trigger_user('user_logout', $edit = NULL, $account); + $edit = NULL; + _trigger_user('user_logout', $edit, $account); } /** @@ -534,7 +535,8 @@ function trigger_user_delete($account) { * Implements hook_user_view(). */ function trigger_user_view($account) { - _trigger_user('user_view', $edit = NULL, $account, NULL); + $edit = NULL; + _trigger_user('user_view', $edit, $account, NULL); } /** -- cgit v1.2.3