Skip to content

Commit

Permalink
Fix bug where $skin is not instantiated.
Browse files Browse the repository at this point in the history
  • Loading branch information
terrencegf committed Jun 5, 2017
1 parent a44b540 commit c615f2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Service/ShibError.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ public function printError()
</p>
';

$forceauthn = Content::$skin->getConfigOption('forceauthn');
$skin = Util::getSkin();
$forceauthn = $skin->getConfigOption('forceauthn');
if ((!is_null($forceauthn)) && ((int)$forceauthn == 1)) {
$erroroutput .= '
<p>
Expand Down

0 comments on commit c615f2c

Please sign in to comment.