Skip to content

Commit

Permalink
[BUGFIX] use pid from selected page
Browse files Browse the repository at this point in the history
  • Loading branch information
mhirdes committed Jan 23, 2017
1 parent 4192fdf commit 584cf1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/Controller/ModuleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class ModuleController extends ActionController {
protected function initializeAction()
{
// initialize page/be_user TSconfig settings
$this->id = (int)GeneralUtility::_GP('id');
$this->modSharedTSconfig = BackendUtility::getModTSconfig($this->id, 'mod.SHARED');
$this->modTSconfig = BackendUtility::getModTSconfig($this->id, 'mod.' . $this->moduleName);

Expand Down

0 comments on commit 584cf1e

Please sign in to comment.