?>
<div class="exceptionBoundary">
<p class="exceptionSubtitle"><?php if (!$e->getPrevious() && !$first) { echo "Original "; } else if ($e->getPrevious() && $first) { echo "Final "; } ?>Error</p>
- <?php if ($e instanceof SystemException && $e->getDescription()) { ?>
+ <?php if (($e instanceof SystemException || $e instanceof \wcf\system\exception\SystemException) && $e->getDescription()) { ?>
<p class="exceptionText"><?php echo $e->getDescription(); ?></p>
<?php } ?>
<ul class="exceptionErrorDetails">