modules/ticket_selector/ProcessTicketSelector.php 1 location
|
@@ 109-123 (lines=15) @@
|
106 |
|
{ |
107 |
|
do_action('EED_Ticket_Selector__process_ticket_selections__before'); |
108 |
|
// do we have an event id? |
109 |
|
if ( ! \EE_Registry::instance()->REQ->is_set('tkt-slctr-event-id')) { |
110 |
|
// $_POST['tkt-slctr-event-id'] was not set ?!?!?!? |
111 |
|
\EE_Error::add_error( |
112 |
|
sprintf( |
113 |
|
__( |
114 |
|
'An event id was not provided or was not received.%sPlease click the back button on your browser and try again.', |
115 |
|
'event_espresso' |
116 |
|
), |
117 |
|
'<br/>' |
118 |
|
), |
119 |
|
__FILE__, |
120 |
|
__FUNCTION__, |
121 |
|
__LINE__ |
122 |
|
); |
123 |
|
} |
124 |
|
//if event id is valid |
125 |
|
$id = absint(\EE_Registry::instance()->REQ->get('tkt-slctr-event-id')); |
126 |
|
// d( \EE_Registry::instance()->REQ ); |
modules/thank_you_page/EED_Thank_You_Page.module.php 1 location
|
@@ 223-234 (lines=12) @@
|
220 |
|
return; |
221 |
|
} |
222 |
|
// only do thank you page stuff if we have a REG_url_link in the url |
223 |
|
if (WP_DEBUG && ! EE_Registry::instance()->REQ->is_set('e_reg_url_link')) { |
224 |
|
EE_Error::add_error( |
225 |
|
__( |
226 |
|
'No transaction information could be retrieved because the registration URL link is missing or invalid.', |
227 |
|
'event_espresso' |
228 |
|
), |
229 |
|
__FILE__, |
230 |
|
__FUNCTION__, |
231 |
|
__LINE__ |
232 |
|
); |
233 |
|
return; |
234 |
|
} |
235 |
|
// check for reg_url_link |
236 |
|
$this->_reg_url_link = EE_Registry::instance()->REQ->get('e_reg_url_link'); |
237 |
|
} |