core/libraries/messages/data_class/EE_Messages_REG_incoming_data.class.php 1 location
|
@@ 97-101 (lines=5) @@
|
| 94 |
|
static public function convert_data_from_persistent_storage( $data ) { |
| 95 |
|
$registration = null; |
| 96 |
|
//$data['Registration'] could be either an ID (back compat) or a registration object (prepped using old system). |
| 97 |
|
if ( isset( $data[ 'Registration' ] ) ) { |
| 98 |
|
$registration = $data[ 'Registration' ] instanceof EE_Registration |
| 99 |
|
? $data[ 'Registration' ] |
| 100 |
|
: EEM_Registration::instance()->get_one_by_ID( $data[ 'Registration' ] ); |
| 101 |
|
} |
| 102 |
|
$prepped_data = array( |
| 103 |
|
0 => $registration, |
| 104 |
|
1 => isset( $data['filter'] ) ? $data['filter'] : null |
core/EE_Session.core.php 1 location
|
@@ 714-718 (lines=5) @@
|
| 711 |
|
$this->cache_storage->delete(EE_Session::session_id_prefix . $this->_sid); |
| 712 |
|
throw new InvalidSessionDataException($msg); |
| 713 |
|
} |
| 714 |
|
if (isset($session_data['transaction']) && absint($session_data['transaction']) !== 0) { |
| 715 |
|
$session_data['transaction'] = EEM_Transaction::instance()->get_one_by_ID( |
| 716 |
|
$session_data['transaction'] |
| 717 |
|
); |
| 718 |
|
} |
| 719 |
|
return $session_data; |
| 720 |
|
} |
| 721 |
|
|