Correction requete SQL de détection des actes

This commit is contained in:
Michael RICOIS 2013-01-10 10:46:18 +00:00
parent 5112b1bc5c
commit 55a3bbcb61

View File

@ -623,9 +623,9 @@ class Infogreffe
Zend_Registry::get('firebug')->info($result);
if ( file_exists($this->pathData.$this->actePath($ref).$result->file) )
{
if ($result->type != $acte['type_acte'] && $result->type2 != '') {
Zend_Registry::get('firebug')->info($acte);
if ($result->type != $acte['type_acte'] && $result->type2 != '') {
//Add to the database
$actesM = new Application_Model_ActesFiles();
$actesM->update(array(
'type2' => $acte['type_acte'],
'type_libelle' => $acte['type_acte_libelle']