Permalink
Browse files

removed check for guest after guests have already been rejected from …

…page
  • Loading branch information...
1 parent 855c083 commit 160888f6cf2c61bb1565405a23172ba904860121 dhawes committed Jan 31, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 blocks/rss_client/block_rss_client_action.php
@@ -48,7 +48,7 @@
//if the user is an admin or course teacher then allow the user to
//assign categories to other uses than personal
- if (isguest() || !( isadmin() || $submitters == SUBMITTERS_ALL_ACCOUNT_HOLDERS || ($submitters == SUBMITTERS_ADMIN_AND_TEACHER && $isteacher) ) ) {
+ if (!( isadmin() || $submitters == SUBMITTERS_ALL_ACCOUNT_HOLDERS || ($submitters == SUBMITTERS_ADMIN_AND_TEACHER && $isteacher) ) ) {
error(get_string('noguestpost', 'forum'), $referrer);
}

0 comments on commit 160888f

Please sign in to comment.