mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merged blog theme/lang fixes from MDL-10833
This commit is contained in:
parent
4bc4ca50a6
commit
673bc55dc2
2 changed files with 7 additions and 3 deletions
|
@ -9,7 +9,7 @@ $id = optional_param('id', 0, PARAM_INT);
|
|||
$confirm = optional_param('confirm', 0, PARAM_BOOL);
|
||||
$courseid = optional_param('courseid', 0, PARAM_INT); // needed for user tab - does nothing here
|
||||
|
||||
require_login();
|
||||
require_login($courseid);
|
||||
|
||||
if (empty($CFG->bloglevel)) {
|
||||
error('Blogging is disabled!');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue