public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Fixed the redirect logic when no feathers are enabled.
vito (author)
Thu Jul 24 07:51:11 -0700 2008
commit  a3fd374d97c46461c1a73a9a7f38fc9a8fc09b6e
tree    7b11e6ea3baf5ddd532c81b3462f60b1ee37f69f
parent  55677430beca14f679c29f24ecf649d0098783b8
...
1966
1967
1968
1969
 
1970
1971
1972
...
1966
1967
1968
 
1969
1970
1971
1972
0
@@ -1966,7 +1966,7 @@
0
 
0
       if (!isset($action) or $action == "write") {
0
         # "Write > Post", if they can add posts or drafts.
0
-        if ($visitor->group()->can("add_post") or $visitor->group()->can("add_draft") and !empty(Config::current()->enabled_feathers))
0
+        if (($visitor->group()->can("add_post") or $visitor->group()->can("add_draft")) and !empty(Config::current()->enabled_feathers))
0
           return "write_post";
0
 
0
         # "Write > Page", if they can add pages.

Comments