summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2012-02-10 11:05:23 -0500
committerspiderr <spider@viovio.com>2012-02-10 11:05:23 -0500
commit608676ee588e123080afaa96e232a5e86717c8dc (patch)
tree6f6e610d45df3ae449fdfd587e9a3899d965f7f9 /index.php
parentb8266b3b04d4fec5a48bd707c34f8d950ae1c463 (diff)
downloadusers-608676ee588e123080afaa96e232a5e86717c8dc.tar.gz
users-608676ee588e123080afaa96e232a5e86717c8dc.tar.bz2
users-608676ee588e123080afaa96e232a5e86717c8dc.zip
use HttpStatusCodes in ::fatalError call
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f24ea62..433f5c4 100644
--- a/index.php
+++ b/index.php
@@ -101,7 +101,7 @@ if( !empty( $_REQUEST['home'] ) && $gQueryUser->isValid() && (( $gBitUser->hasPe
$gBitSmarty->assign_by_ref( 'usercount', $_REQUEST["cant"] );
// display an error message
if( !empty( $_REQUEST['home'] )) {
- $gBitSystem->setHttpStatus( '404' );
+ $gBitSystem->setHttpStatus( HttpStatusCodes::HTTP_NOT_FOUND );
$feedback['error'] = tra( 'The following user could not be found' ).': '.$_REQUEST['home'];
$gBitSmarty->assign( 'feedback', $feedback );
}