summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
Diffstat (limited to 'application/models')
-rw-r--r--application/models/muser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/muser.php b/application/models/muser.php
index 6f6129ca2..4d183c5a6 100644
--- a/application/models/muser.php
+++ b/application/models/muser.php
@@ -208,7 +208,7 @@ class Muser extends CI_Model {
->get()->row_array();
if (!isset($query["key"]) || $key != $query["key"]) {
- throw new \exceptions\ApiException("user/get_action/invalid-action", "Invalid action key");
+ throw new \exceptions\UserInputException("user/get_action/invalid-action", "Invalid action key");
}
return $query;