fixed use of undefined $user

This commit is contained in:
Petr Skoda 2010-09-17 11:25:48 +00:00
parent fd7a6fe2e3
commit b29ce44dde

View file

@ -139,7 +139,7 @@ if (!empty($groupid)) {
}
}
if (!empty($user)) {
if (!empty($userid)) {
if ($CFG->bloglevel < BLOG_USER_LEVEL) {
print_error('blogdisable', 'blog');
}