Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / libs / booking_functions.php
index 21ae3239f2dc830f439730f57f0f43e4574b6a2e..758dc7d847407294c885a88c041bca3705f3c2d9 100644 (file)
@@ -49,7 +49,7 @@ function addBookingRecord ($subject, $userid, $points, $pointsMode, $accountType
        } // END - if
 
        // Add record entry here
-       SQL_QUERY_ESC("INSERT INTO `{?_MYSQL_PREFIX?}_user_booking` (`userid`, `subject`, `points_mode`, `points_account_type`, `points`) VALUES (%s, '%s', '%s', '%s', %s)",
+       sqlQueryEscaped("INSERT INTO `{?_MYSQL_PREFIX?}_user_booking` (`userid`, `subject`, `points_mode`, `points_account_type`, `points`) VALUES (%s, '%s', '%s', '%s', %s)",
                array(
                        bigintval($userid),
                        $subject,