diff --git a/htdocs/societe/class/societe.class.php b/htdocs/societe/class/societe.class.php index 39ec8fee2e1..ea175c13c6a 100644 --- a/htdocs/societe/class/societe.class.php +++ b/htdocs/societe/class/societe.class.php @@ -14,7 +14,7 @@ * Copyright (C) 2015 Raphaël Doursenaud * Copyright (C) 2017 Rui Strecht * Copyright (C) 2018 Philippe Grand - * Copyright (C) 2019 Josep Lluís Amador + * Copyright (C) 2019-2020 Josep Lluís Amador * Copyright (C) 2019 Frédéric France * * This program is free software; you can redistribute it and/or modify @@ -965,7 +965,7 @@ class Societe extends CommonObject } elseif ($rescode == -5) { - $this->errors[] = 'ErrorprefixRequired'; + $this->errors[] = 'ErrorPrefixRequired'; } $result = -3; }