Update api_setup.class.php

This commit is contained in:
ptibogxiv 2019-10-10 15:56:36 +02:00 committed by GitHub
parent 56b6223bba
commit e5cb9bc22e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -442,7 +442,7 @@ class Setup extends DolibarrApi
$list[] = $this->db->fetch_object($result);
}
} else {
throw new RestException(503, 'Error when retrieving list of events types : '.$this->db->lasterror());
throw new RestException(503, 'Error when retrieving list of contacts types : '.$this->db->lasterror());
}
return $list;