diff --git a/VERSIONS_STABLE/hotline_16604_fix_default_value_in_stats_notices_table_fix_default_value_in_stats_notices_table b/VERSIONS_STABLE/hotline_16604_fix_default_value_in_stats_notices_table_fix_default_value_in_stats_notices_table new file mode 100644 index 0000000000000000000000000000000000000000..0d57df7458dd81a4c5e61f5db464b561f3894853 --- /dev/null +++ b/VERSIONS_STABLE/hotline_16604_fix_default_value_in_stats_notices_table_fix_default_value_in_stats_notices_table @@ -0,0 +1 @@ + - ticket: #16604: Correction d'un bug dans la table stats_notices qui ne proposait pas de valeurs pas défault dans les champs nb_visu et nb_resa \ No newline at end of file diff --git a/cosmogramme/php/_init.php b/cosmogramme/php/_init.php index 1813afe6fe4b411c5f8ac2e9c11d4e014922b799..13c63fc20199e6595d47513a44e322424e6131ef 100644 --- a/cosmogramme/php/_init.php +++ b/cosmogramme/php/_init.php @@ -1,7 +1,7 @@ <?php // Constantes error_reporting(E_ERROR | E_PARSE); -define("PATCH_LEVEL","229"); +define("PATCH_LEVEL","230"); define("APPLI","cosmogramme"); define("COSMOPATH", "/var/www/html/vhosts/opac2/www/htdocs"); diff --git a/cosmogramme/sql/patch/patch_230.php b/cosmogramme/sql/patch/patch_230.php new file mode 100644 index 0000000000000000000000000000000000000000..60354d07d2f9a9fe400103ed805443ccb42f2bbc --- /dev/null +++ b/cosmogramme/sql/patch/patch_230.php @@ -0,0 +1,5 @@ +<?php +$adapter = Zend_Registry::get('sql'); +$adapter->query('ALTER TABLE stats_notices MODIFY nb_visu int(11) default 0'); +$adapter->query('ALTER TABLE stats_notices MODIFY nb_resa int(11) default 0'); +?> \ No newline at end of file