Skip to content
Snippets Groups Projects

Hotline master

Merged Ghislain Loas requested to merge hotline-master into master
Compare and
+ 179
92
Preferences
Compare changes
Files
@@ -258,8 +258,9 @@ class CmsController extends Zend_Controller_Action {
$preferences = array_merge($module_calendrier->getDefaultValues(),
$this->_modulesPreferences($id_module));
if (!preg_match('/[0-9]{4}-[0-9]{2}/', $date)) {
$date = date('Y-m-d');
$date = null;
}
// param pour l'affichage du calendar
@@ -267,6 +268,7 @@ class CmsController extends Zend_Controller_Action {
if ($month = $this->_getParam('month')) {
$param['DATE'] = date('Y') . '-' . sprintf("%02d", $month);
}
$param['URL']='';
$param['ID_BIB']=Class_Profil::getCurrentProfil()->getIdSite();
$param['AFFICH_MOIS']=1;