r2039 + fix unescaped string
authorDenis Ovsienko <infrastation@yandex.ru>
Sun, 6 Jul 2008 22:32:10 +0000 (22:32 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sun, 6 Jul 2008 22:32:10 +0000 (22:32 +0000)
upgrade.php

index 4ce59081db926fa539f0479046a5bb42319ddd73..fb932db15a93b8bd3f5ee2d909cfb4c720a2ee6d 100644 (file)
@@ -1299,7 +1299,7 @@ CREATE TABLE `TagTree` (
                                "UserPermission natural left join UserAccount where (user_name is not null) or " .
                                "(user_name is null and UserPermission.user_id = 0) order by user_id desc, page desc, tab desc";
                        $tr = $dbxlink->query ($tq);
-                       $code = "allow {$userid_1}\ndeny true\n";
+                       $code = "allow {\$userid_1}\ndeny true\n";
                        // copied and pasted from fixContext()
                        $pmap = array
                        (