MDL-36713 Blog: Display accurate error when a guest views a user blog
[moodle.git] / blog / edit.php
index 36a544c..bf9a166 100644 (file)
@@ -79,7 +79,7 @@ if (empty($CFG->enableblogs)) {
 }
 
 if (isguestuser()) {
-    print_error('noguestentry', 'blog');
+    print_error('noguest');
 }
 
 $returnurl = new moodle_url('/blog/index.php');