]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/booking_functions.php
Several more constants rewritten to getConfig()
[mailer.git] / inc / libs / booking_functions.php
index fc7167a107f89e800935bc6cd5ca48ba0057323d..4297becaeb54847e85bdb52d6863595ca015c261 100644 (file)
@@ -38,7 +38,7 @@
 
 // Some security stuff...
 if (!defined('__SECURITY')) {
-       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), "/inc") + 4) . "/security.php";
+       $INC = substr(dirname(__FILE__), 0, strpos(dirname(__FILE__), '/inc') + 4) . '/security.php';
        require($INC);
 }
 
@@ -53,7 +53,7 @@ function ADD_BOOKING_RECORD ($subject, $uid, $points, $mode) {
 
        // Add record entry here
        SQL_QUERY_ESC("INSERT INTO `{!_MYSQL_PREFIX!}_user_book` (`userid`,`subject`,`mode`,`points`) VALUES(%s,'%s','%s',%s)",
-               array($uid, $subject, $mode, $points), __FUNCTION__, __LINE__);
+       array($uid, $subject, $mode, $points), __FUNCTION__, __LINE__);
 }
 
 // [EOF]