Skip to content
Snippets Groups Projects
Commit dba0ffc3 authored by efalcy's avatar efalcy
Browse files

correction test

parent cf012b04
Branches
Tags
No related merge requests found
......@@ -840,10 +840,10 @@ class Class_Catalogue extends Storm_Model_Abstract {
public function saveThesaurus(){
$thesaurus = Class_CodifThesaurus::findThesaurusForCatalogue($this->getIdCatalogue());
$thesaurus = Class_CodifThesaurus::findThesaurusForCatalogue($this->getId());
if(!$thesaurus){
$thesaurus= new Class_CodifThesaurus();
$thesaurus->setIdOrigine($this->getIdCatalogue());
$thesaurus->setIdOrigine($this->getId());
$thesaurus->setCode('Catalogue');
$thesaurus->setLibelle($this->getLibelle());
if(!$this->hasDomaineParent()){
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment