]> git.mxchange.org Git - mailer.git/blobdiff - inc/libs/booking_functions.php
Fixed logfile writing in installation phase, .revision is now ignored
[mailer.git] / inc / libs / booking_functions.php
index 78252fb5c85cde0b6b7fabacc7746530d5b3eb02..5bafa6eeb60534771bf7d90cc10109bae99ec800 100644 (file)
  * -------------------------------------------------------------------- *
  * Kurzbeschreibung  : Funktionen fuer booking-Erweiterung              *
  * -------------------------------------------------------------------- *
- *                                                                      *
+ * $Revision:: 856                                                    $ *
+ * $Date:: 2009-03-06 20:24:32 +0100 (Fr, 06. Mär 2009)              $ *
+ * $Tag:: 0.2.1-FINAL                                                 $ *
+ * $Author:: stelzi                                                   $ *
+ * Needs to be in all Files and every File needs "svn propset           *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!!            *
  * -------------------------------------------------------------------- *
  * Copyright (c) 2003 - 2008 by Roland Haeder                           *
  * For more information visit: http://www.mxchange.org                  *
@@ -47,8 +52,8 @@ function ADD_BOOKING_RECORD ($subject, $uid, $points, $mode) {
        } // END - if
 
        // 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), __FILE__, __LINE__);
+       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__);
 }
 
 // [EOF]