mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/13817] fix after for session_update
Fix wrong variables passed to create session event PHPBB3-13817
This commit is contained in:
parent
c0449d31d6
commit
82bc9baa24
1 changed files with 3 additions and 3 deletions
|
@ -893,7 +893,7 @@ class session
|
||||||
$_SID = '';
|
$_SID = '';
|
||||||
}
|
}
|
||||||
|
|
||||||
$session_data = $this->data;
|
$session_data = $sql_ary;
|
||||||
/**
|
/**
|
||||||
* Event to send new session data to extension
|
* Event to send new session data to extension
|
||||||
* Read-only event
|
* Read-only event
|
||||||
|
@ -1591,12 +1591,12 @@ class session
|
||||||
* Event to send update session information to extension
|
* Event to send update session information to extension
|
||||||
* Read-only event
|
* Read-only event
|
||||||
*
|
*
|
||||||
* @event core.update_session
|
* @event core.update_session_after
|
||||||
* @var array session_data Associative array of session keys to be updated
|
* @var array session_data Associative array of session keys to be updated
|
||||||
* @var string session_id current user's session_id
|
* @var string session_id current user's session_id
|
||||||
* @since 3.1.5-RC1
|
* @since 3.1.5-RC1
|
||||||
*/
|
*/
|
||||||
$vars = array('session_data', 'session_id');
|
$vars = array('session_data', 'session_id');
|
||||||
extract($phpbb_dispatcher->trigger_event('core.update_session', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.update_session_after', compact($vars)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue