This commit is contained in:
Laurent Destailleur 2017-02-02 02:49:04 +01:00
parent f6144b9ecb
commit 40737eac2e

View File

@ -2764,6 +2764,8 @@ class Propal extends CommonObject
*/ */
function availability($availability_id, $notrigger=0) function availability($availability_id, $notrigger=0)
{ {
global $user;
if ($this->statut >= self::STATUS_DRAFT) if ($this->statut >= self::STATUS_DRAFT)
{ {
$error=0; $error=0;