Skip to content

Commit

Permalink
Whoops! Current action is optional not required.
Browse files Browse the repository at this point in the history
  • Loading branch information
thepurpleblob committed Jun 10, 2005
1 parent f2e91e2 commit 2d9a776
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/rss_client/config_instance.html
Expand Up @@ -5,7 +5,7 @@
$page = page_create_object($this->instance->pagetype, $this->instance->pageid); $page = page_create_object($this->instance->pagetype, $this->instance->pageid);


/// Print tabs at top /// Print tabs at top
$currentaction = required_param( 'currentaction','',PARAM_ALPHA ); $currentaction = optional_param( 'currentaction','',PARAM_ALPHA );
if (empty($currentaction) || $currentaction == 'configblock') { if (empty($currentaction) || $currentaction == 'configblock') {
$currentaction = 'configblock'; $currentaction = 'configblock';
} else { } else {
Expand Down

0 comments on commit 2d9a776

Please sign in to comment.