From 75ec55a3b7ee8d58b52b331b3e3c7380d49527c3 Mon Sep 17 00:00:00 2001 From: Ghislain Loas <ghislo@sandbox.pergame.net> Date: Fri, 4 Sep 2015 14:27:04 +0200 Subject: [PATCH] fix call to constants --- cosmogramme/php/classes/classe_notice_integration.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cosmogramme/php/classes/classe_notice_integration.php b/cosmogramme/php/classes/classe_notice_integration.php index 19383f681d2..74f4c5da3ef 100644 --- a/cosmogramme/php/classes/classe_notice_integration.php +++ b/cosmogramme/php/classes/classe_notice_integration.php @@ -985,7 +985,7 @@ class notice_integration { protected function insertArticleWith($article_from_record) { Class_Notice_SerialArticles::newInstance($article_from_record->toArray())->save(); Class_Notice_SerialArticles::clearCache(); - $this->statut = RECORD_INSERT; + $this->statut = self::RECORD_INSERT; return; } @@ -993,7 +993,7 @@ class notice_integration { protected function updateArticleWith($article, $article_from_record) { if($enreg["qualite"] >= $article->getQualite()) { $article->updateAttributes($article_from_record->toArray())->save(); - $this->statut = RECORD_RENEW; + $this->statut = self::RECORD_RENEW; } } -- GitLab