]> git.mxchange.org Git - mailer.git/commitdiff
Final fixes?
authorRoland Häder <roland@mxchange.org>
Thu, 14 Jul 2011 15:58:35 +0000 (15:58 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 14 Jul 2011 15:58:35 +0000 (15:58 +0000)
inc/extensions/ext-user.php
inc/template-functions.php

index 9cb4d30c7414e778ada87f7a405b90e1b6396c89..c10a003f36296107db61405c60a0ba1a516503c8 100644 (file)
@@ -486,8 +486,8 @@ INDEX (`refid`)",
 
                        case '0.4.6': // SQL queries for v0.4.6
                                // SQL commands to run
 
                        case '0.4.6': // SQL queries for v0.4.6
                                // SQL commands to run
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='{OPEN_TEMPLATE}POINTS{CLOSE_TEMPLATE} gutschreiben' WHERE `what` = 'add_points' LIMIT 1");
-                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='{OPEN_TEMPLATE}POINTS{CLOSE_TEMPLATE} abziehen' WHERE `what` = 'sub_points' LIMIT 1");
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='{OPEN_CONFIG}POINTS{CLOSE_CONFIG} gutschreiben' WHERE `what` = 'add_points' LIMIT 1");
+                               addExtensionSql("UPDATE `{?_MYSQL_PREFIX?}_admin_menu` SET `title`='{OPEN_CONFIG}POINTS{CLOSE_CONFIG} abziehen' WHERE `what` = 'sub_points' LIMIT 1");
                                addAdminMenuSql('user','sub_points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG} abziehen','Allen oder einem Mitglied {OPEN_CONFIG}POINTS{CLOSE_CONFIG} abziehen.', 8);
 
                                // This update depends on ext-menu update
                                addAdminMenuSql('user','sub_points','{OPEN_CONFIG}POINTS{CLOSE_CONFIG} abziehen','Allen oder einem Mitglied {OPEN_CONFIG}POINTS{CLOSE_CONFIG} abziehen.', 8);
 
                                // This update depends on ext-menu update
index 25e899ee11d3d8ec3ad2063ed8183d6ebb1bf3a4..382e4a6c9c7c18280b99ffc1fc42aeba346e0f17 100644 (file)
@@ -240,8 +240,11 @@ function doFinalCompilation ($code, $insertComments = true, $enableCodes = true)
                // Use it again
                $code = $newContent;
 
                // Use it again
                $code = $newContent;
 
-               // Compile the final code
-               $code = compileRawCode($code);
+               // Compile the final code if insertComments is true
+               if ($insertComments == true) {
+                       // ... because SQL queries shall keep OPEN_CONFIG and such in
+                       $code = compileRawCode($code);
+               } // END - if
 
                // Count round
                $count++;
 
                // Count round
                $count++;