Skip to content
Snippets Groups Projects
Commit fa06231c authored by llaffont's avatar llaffont
Browse files

Correction ajout ouverture sans jour

git-svn-id: http://afi-forge.afi-sa.fr/svn/opacce/trunk@635 e3cc70dd-a52f-4065-8a26-0e09943c8c5c
parent a15d085b
Branches
Tags
No related merge requests found
......@@ -114,7 +114,7 @@ class Class_Ouverture extends Storm_Model_Abstract {
return $this->_set('jour', Class_Date::humanDate($jour, 'yyyy-MM-dd'));
} catch (Zend_Date_Exception $e) {}
return $this->_set('jour', null);
return $this->_set('jour', 0);
}
......@@ -147,7 +147,7 @@ class Class_Ouverture extends Storm_Model_Abstract {
public function beforeSave() {
if ($this->getJourSemaine() > 0)
$this->setJour(null);
$this->setJour(0);
}
}
......
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