diff options
Diffstat (limited to 'library/WT/Controller/Chart.php')
| -rw-r--r-- | library/WT/Controller/Chart.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/WT/Controller/Chart.php b/library/WT/Controller/Chart.php index 1205aa37d8..7e12ec7a0f 100644 --- a/library/WT/Controller/Chart.php +++ b/library/WT/Controller/Chart.php @@ -40,7 +40,7 @@ class WT_Controller_Chart extends WT_Controller_Page { } if (!$this->root || !$this->root->canShowName()) { - header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); + http_response_code(404); $this->error_message = WT_I18N::translate('This individual does not exist or you do not have permission to view it.'); } } |
