From: Steve Sutton Date: Mon, 5 Jun 2017 16:02:17 +0000 (-0400) Subject: Update for PHP7 X-Git-Tag: v1.0.2^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=7a0328c79b61ec6297574b22614e8171327d15fe;p=prog%2Fws0%2FRegistrations_V3.git Update for PHP7 Have to correct some code for php 7 to work. --- diff --git a/front-end/reg_functions.inc b/front-end/reg_functions.inc index 3bdbdab..9e323b1 100644 --- a/front-end/reg_functions.inc +++ b/front-end/reg_functions.inc @@ -3181,7 +3181,7 @@ $url, $action, $params, $filters, $a_title, $view = "", $id_field = "", $quick_t function admin_list_records( $table, $where, $order, $conn_str, $fields, $options, $fail_mode, $rows = 20, $start = 0, -$url, $action, $params, $filters, $a_title, $view = "", $id_field = "", $quick_tip = "", $id_field = "" ) +$url, $action, $params, $filters, $a_title, $view = "", $id_field = "", $quick_tip = "" ) { $r = admin_list_records_r( $table, $where, $order, $conn_str, $fields, $options, $fail_mode, $rows, $start, diff --git a/front-end/reg_setup.php b/front-end/reg_setup.php index 08156f3..55b03cd 100644 --- a/front-end/reg_setup.php +++ b/front-end/reg_setup.php @@ -1,5 +1,4 @@ event_registration->save_contacts) { @@ -3112,7 +3112,7 @@ if ($Action == "Step6") { "From: Gaslight Media ".$v['word_Event']." Registration System \n" ); } - + $reason[]['text'] = "The system was unable to store your request but it appears your credit card has already been charged.
Please contact ".$v["customer_name"] .( $cust_phone != '' ? " at ".$v["customer_phone"] : '' )