We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79167fd + f12c237 commit b306fbcCopy full SHA for b306fbc
system/CodeIgniter.php
@@ -947,7 +947,7 @@ protected function display404errors(PageNotFoundException $e)
947
}
948
949
throw PageNotFoundException::forPageNotFound(
950
- (ENVIRONMENT !== 'production' || ! $this->isWeb()) ? $e->getMessage() : ''
+ (ENVIRONMENT !== 'production' || ! $this->isWeb()) ? $e->getMessage() : null
951
);
952
953
0 commit comments