diff options
| author | spiderr <spider@viovio.com> | 2013-02-08 15:18:06 -0500 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2013-02-08 15:18:06 -0500 |
| commit | d1ff2afb28460b40913d127151530c7b08a2f15d (patch) | |
| tree | 71154cc065134cf67795709c509f07b44d5832e8 /register.php | |
| parent | 73b9f9ac36ecda8970fd423747c21c613eebf40e (diff) | |
| download | users-d1ff2afb28460b40913d127151530c7b08a2f15d.tar.gz users-d1ff2afb28460b40913d127151530c7b08a2f15d.tar.bz2 users-d1ff2afb28460b40913d127151530c7b08a2f15d.zip | |
fix recpatcha typo
Diffstat (limited to 'register.php')
| -rw-r--r-- | register.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/register.php b/register.php index df05b07..48af64a 100644 --- a/register.php +++ b/register.php @@ -24,7 +24,7 @@ if( isset( $_REQUEST['tk'] ) ) { require_once( '../kernel/setup_inc.php' ); require_once( KERNEL_PKG_PATH.'BitBase.php' ); include_once( KERNEL_PKG_PATH.'notification_lib.php' ); -if( $gBitSystem->getConfig( 'users_register_recpatcha' ) ) { +if( $gBitSystem->getConfig( 'users_register_recaptcha' ) ) { require_once( USERS_PKG_PATH.'classes/recaptchalib.php' ); } @@ -100,6 +100,7 @@ if( isset( $_REQUEST["register"] ) ) { exit; } } else { + $gBitSystem->setHttpStatus( HttpStatusCodes::HTTP_BAD_REQUEST ); $gBitSmarty->assign_by_ref( 'errors', $newUser->mErrors ); } |
