]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/booking_functions.php
Opps, not all elements for sprintf() has been set.
[mailer.git] / inc / libs / booking_functions.php
index 9b7e78dc45e62e418191e3a1822b1a052847a250..758dc7d847407294c885a88c041bca3705f3c2d9 100644 (file)
@@ -16,7 +16,7 @@
  * $Author::                                                          $ *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2009 by Roland Haeder                           *
- * Copyright (c) 2009 - 2012 by Mailer Developer Team                   *
+ * Copyright (c) 2009 - 2013 by Mailer Developer Team                   *
  * For more information visit: http://mxchange.org                      *
  *                                                                      *
  * This program is free software; you can redistribute it and/or modify *
@@ -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,