mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
Whoops! Current action is optional not required.
This commit is contained in:
parent
f2e91e2bdf
commit
2d9a7768f8
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ require_once($CFG->libdir .'/rsslib.php');
|
|||
$page = page_create_object($this->instance->pagetype, $this->instance->pageid);
|
||||
|
||||
/// Print tabs at top
|
||||
$currentaction = required_param( 'currentaction','',PARAM_ALPHA );
|
||||
$currentaction = optional_param( 'currentaction','',PARAM_ALPHA );
|
||||
if (empty($currentaction) || $currentaction == 'configblock') {
|
||||
$currentaction = 'configblock';
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue