From 53b43eb98a7681957c6ddfac94a44cabf9d0ba52 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 13 Aug 2019 19:34:21 +0200 Subject: [PATCH] Fix error message --- htdocs/fichinter/class/api_interventions.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fichinter/class/api_interventions.class.php b/htdocs/fichinter/class/api_interventions.class.php index 2702ad6c55e..4808d224916 100644 --- a/htdocs/fichinter/class/api_interventions.class.php +++ b/htdocs/fichinter/class/api_interventions.class.php @@ -177,7 +177,7 @@ class Interventions extends DolibarrApi throw new RestException(503, 'Error when retrieve fichinter list : '.$db->lasterror()); } if( ! count($obj_ret)) { - throw new RestException(404, 'No finchinter found'); + throw new RestException(404, 'No intervention found'); } return $obj_ret; }