Bug Admins always get stack trace on on fatal exceptions

There is a bug in this version
K

Kirby

Guest
PHP:

Code:
public function displayFatalExceptionMessage($e)
{
    $upgradePending = $this->hasPendingUpgrade();
    $isInstalled = \XF\Util\File::installLockExists();
    $ignorePendingUpgrade = (!$isInstalled || $this->ignorePendingUpgrade || $this->forceShowTrace);

    if (\XF::$debugMode || !$isInstalled || $this->forceShowTrace)
    {
        $showTrace = true;
    }
    else
    {
        $showTrace = false;

        try
        {
            $visitor = \XF::visitor();
            $showTrace...

Read more

Continue reading...