[guadec-web] Fix syntax error



commit f90192dbe2efe2064bd492469ceddfce37879df5
Author: Pascal Terjan <pterjan gmail com>
Date:   Mon Jul 14 16:40:08 2014 +0000

    Fix syntax error

 guadec/confirm-payment.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/guadec/confirm-payment.php b/guadec/confirm-payment.php
index fc0971f..5ca5f42 100644
--- a/guadec/confirm-payment.php
+++ b/guadec/confirm-payment.php
@@ -79,7 +79,7 @@ if (!empty($_POST)) {
                        if ($room_type != 'single' && $room_type != 'double') {
                                $errors = true;
                        }
-                        $booked = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM 
wp_guadec2014_registrations WHERE accom = 'YES' AND room=%s", $room_type);
+                        $booked = $wpdb->get_var($wpdb->prepare("SELECT COUNT(*) FROM 
wp_guadec2014_registrations WHERE accom = 'YES' AND room=%s", $room_type));
                        $total_beds = $room_type == 'single' ? 14 : 26;
                        if ($total_beds <= $booked) {
                                $errors = true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]