Skip to content

Commit

Permalink
Fixed issue: Page header in Check data integrity
Browse files Browse the repository at this point in the history
- Added TypeHint
- Removed empty line
- Renamed Button 'Return to admin home' to 'Back'
  • Loading branch information
thedirtypanda committed Jun 4, 2021
1 parent c59c26b commit bc2c722
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions application/controllers/admin/checkintegrity.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,15 @@ public function __construct($controller, $id)
Yii::app()->loadHelper('surveytranslator');
}

/**
* @throws Exception
*/
public function index()
{
$aData = $this->_checkintegrity();


$aData['fullpagebar']['returnbutton']['url'] = 'admin/index';
$aData['fullpagebar']['returnbutton']['text'] = gT('Return to admin home');
$aData['fullpagebar']['returnbutton']['text'] = gT('Back');

$this->_renderWrappedTemplate('checkintegrity', 'check_view', $aData);
}
Expand Down

0 comments on commit bc2c722

Please sign in to comment.