Skip to content

Commit

Permalink
removed check for guest after guests have already been rejected from …
Browse files Browse the repository at this point in the history
…page
  • Loading branch information
dhawes committed Jan 31, 2005
1 parent 855c083 commit 160888f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/rss_client/block_rss_client_action.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 160888f

Please sign in to comment.