Skip to content
Snippets Groups Projects
Commit 01d36b57 authored by Ghislain Loas's avatar Ghislain Loas
Browse files

dirty solution without modifying zf/element->isValid()

parent 3cde2105
Branches
Tags
4 merge requests!1677Hotline master,!1669Master,!1668Hotline master,!1663Hotline#41294 fix openings add action for one day
......@@ -92,6 +92,9 @@ class Admin_OuverturesController extends ZendAfi_Controller_Action {
$post = parent::_getPost();
$post['id_site'] = $this->_getLibrary()->getId();
if(!$post['jour'])
$post['jour'] = 'empty';
if(Class_Ouverture::AUCUN_JOUR != $post['jour_semaine'])
$post['jour'] = null;
......
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