Permalink
Browse files

took out a print header that was generating a warning

  • Loading branch information...
1 parent 26f8fcd commit b744c0c3eceadaec67b8dc8b1ef85f93c595ab33 toyomoyo committed Apr 12, 2006
Showing with 1 addition and 2 deletions.
  1. +1 −2 blog/preferences.php
View
@@ -22,15 +22,14 @@
error(get_string('noguestpost', 'blog'), $referrer);
}
- if (!blog_isLoggedIn() ) {
+ if (!(isloggedin() && !isguest())) {
error(get_string('noguestpost', 'blog'), $referrer);
}
$userid = $USER->id;
/// If data submitted, then process and store.
if ($post = data_submitted()) {
- print_header();
$pagesize = optional_param('pagesize', 10, PARAM_INT);
if ($pagesize < 1 ) {

0 comments on commit b744c0c

Please sign in to comment.