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

hotline #16604 _fix_default_value_in_stats_notices_table_fix_default_value_in_stats_notices_table

parent 7e37d31f
Branches
Tags
5 merge requests!715Master,!688Master,!687Hotline master,!683backport fix to master,!674Hotline #16604 fix default value in stats notices table
- 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
<?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");
......
<?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
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