@@ 65-68 (lines=4) @@ | ||
62 | // Form is submitted |
|
63 | if ($request->is_set_post('submit')) |
|
64 | { |
|
65 | if (!check_form_key('acp_paypal')) |
|
66 | { |
|
67 | trigger_error($user->lang('FORM_INVALID') . adm_back_link($this->u_action), E_USER_WARNING); |
|
68 | } |
|
69 | ||
70 | $data['paypal_email'] = $request->variable('paypal_email', '', true); |
|
71 | $data['paypal_sandbox'] = $request->variable('paypal_sandbox', 0); |
|
@@ 227-230 (lines=4) @@ | ||
224 | // Form is submitted |
|
225 | if ($request->is_set_post('submit')) |
|
226 | { |
|
227 | if (!check_form_key('acp_paypal')) |
|
228 | { |
|
229 | trigger_error($user->lang('FORM_INVALID') . adm_back_link($this->u_action), E_USER_WARNING); |
|
230 | } |
|
231 | $data['item_name'] = $request->variable('item_name', '', true); |
|
232 | $data['item_text'] = $request->variable('item_text', '', true); |
|
233 |