]> git.mxchange.org Git - mailer.git/blobdiff - inc/extensions/ext-booking.php
Spaces added because we don't use spaces in SQL queries but in PHP code
[mailer.git] / inc / extensions / ext-booking.php
index aa0f8f1ee2547f5bcb4978af55e1d6eaf7414585..12dc7236a9c49e050d7467aaf1b9dda7dbe4a963 100644 (file)
@@ -57,7 +57,7 @@ switch (getExtensionMode()) {
 
                // Drop/create table for user bookings
                addDropTableSql('user_book');
-               addExtensionSql("CREATE TABLE `{?_MYSQL_PREFIX?}_user_book`(
+               addCreateTableSql('user_book', "(
 `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
 `userid` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
 `subject` VARCHAR(255) NOT NULL DEFAULT 'missing',
@@ -74,7 +74,7 @@ PRIMARY KEY (`id`)
                addAdminMenuSql('user','list_booking','Kontoauszüge','Kontoauszüge aller Ihrer Mitglieder oder eines einzelnen Mitgliedes anzeigen.',10);
 
                // Member menu
-               addMemberMenuSql('main','booking','{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Kontoauszug','N','Y',5);
+               addMemberMenuSql('main', 'booking', '{OPEN_CONFIG}POINTS{CLOSE_CONFIG}-Kontoauszug', 'N', 'Y', 5);
 
                // Add the filters
                registerFilter('post_add_points', 'ADD_BOOKING_RECORD', false, true, isExtensionDryRun());