Skip to content
Snippets Groups Projects
Commit f8b96dec authored by Armand Bahi's avatar Armand Bahi
Browse files

fix error message problem

parent 812f2450
Branches
Tags
No related merge requests found
......@@ -676,7 +676,7 @@ class Users extends Vitis {
if ($this->oConnection->oError == null && in_array("vitis_admin", $this->oConnection->aPrivileges)) {
$aReturn = $this->genericDelete($this->aProperties['schema_framework'], 'v_user', 'user_id');
} else {
$oError = new Error(1, "Invalid token");
$oError = new VitisError(1, "Invalid token");
$aXmlRacineAttribute['status'] = 0;
$aReturn['sMessage'] = $oError->asDocument('', 'vitis', $this->aValues['sEncoding'], True, $aXmlRacineAttribute, $this->aValues['sSourceEncoding'], $this->aValues['output']);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment