diff options
| author | spiderr <spider@viovio.com> | 2012-02-10 11:05:23 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-02-10 11:05:23 -0500 |
| commit | 608676ee588e123080afaa96e232a5e86717c8dc (patch) | |
| tree | 6f6e610d45df3ae449fdfd587e9a3899d965f7f9 /index.php | |
| parent | b8266b3b04d4fec5a48bd707c34f8d950ae1c463 (diff) | |
| download | users-608676ee588e123080afaa96e232a5e86717c8dc.tar.gz users-608676ee588e123080afaa96e232a5e86717c8dc.tar.bz2 users-608676ee588e123080afaa96e232a5e86717c8dc.zip | |
use HttpStatusCodes in ::fatalError call
Diffstat (limited to 'index.php')
| -rw-r--r-- | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); } |
