r2029 + always have admin-permitting clause in the RackCode
authorDenis Ovsienko <infrastation@yandex.ru>
Sat, 5 Jul 2008 12:25:11 +0000 (12:25 +0000)
committerDenis Ovsienko <infrastation@yandex.ru>
Sat, 5 Jul 2008 12:25:11 +0000 (12:25 +0000)
upgrade.php

index ae64299f481c14823ae40252321020b32352963e..15fb39af89f98eb42cef644d2a7310388f9b7b76 100644 (file)
@@ -1290,7 +1290,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_name desc, page desc, tab desc";
                        $tr = $dbxlink->query ($tq);
-                       $code = '';
+                       $code = "allow {$userid_1}\n";
                        while ($row = $tr->fetch (PDO::FETCH_ASSOC))
                        {
                                $conjunction = '';