mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
fixed use of undefined $user
This commit is contained in:
parent
fd7a6fe2e3
commit
b29ce44dde
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ if (!empty($groupid)) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!empty($user)) {
|
if (!empty($userid)) {
|
||||||
if ($CFG->bloglevel < BLOG_USER_LEVEL) {
|
if ($CFG->bloglevel < BLOG_USER_LEVEL) {
|
||||||
print_error('blogdisable', 'blog');
|
print_error('blogdisable', 'blog');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue