summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorspiderr <spiderr@bitweaver.org>2020-04-14 12:11:40 -0400
committerspiderr <spiderr@bitweaver.org>2020-04-14 12:11:40 -0400
commit56a4229c091ece487f031cf98bb23f6ad30b7321 (patch)
tree852d3d208ee8e2be3975c73e97bbf1838aa93b28 /admin
parentbfa57ec6301fcc224b8524845556e207d49df37d (diff)
downloadusers-56a4229c091ece487f031cf98bb23f6ad30b7321.tar.gz
users-56a4229c091ece487f031cf98bb23f6ad30b7321.tar.bz2
users-56a4229c091ece487f031cf98bb23f6ad30b7321.zip
fix HTTP_CONFLICT undefined constant
Diffstat (limited to 'admin')
-rw-r--r--admin/api_inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/api_inc.php b/admin/api_inc.php
index 01a1f84..75d6592 100644
--- a/admin/api_inc.php
+++ b/admin/api_inc.php
@@ -19,7 +19,7 @@ function bituser_api_handler( $pMethod, $pRequest ) {
$respStatus = HttpStatusCodes::HTTP_OK;
$respData = $newUser->exportHash();
} else {
- $respStatus = HTTP_CONFLICT;
+ $respStatus = HttpStatusCodes::HTTP_CONFLICT;
$respData = $newUser->mErrors;
}
}