Skip to content
Snippets Groups Projects
Commit 6ebe05f0 authored by Meusburger's avatar Meusburger
Browse files

Merge branch 'hotline_#16604_fix_default_value_in_stats_notices_table' into 'stable'

Hotline #16604 fix default value in stats notices table

See merge request !674
parents 927761c7 a6d4584e
Branches
Tags
4 merge requests!715Master,!688Master,!687Hotline master,!683backport fix to master
- 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 <?php
// Constantes // Constantes
error_reporting(E_ERROR | E_PARSE); error_reporting(E_ERROR | E_PARSE);
define("PATCH_LEVEL","229"); define("PATCH_LEVEL","230");
define("APPLI","cosmogramme"); define("APPLI","cosmogramme");
define("COSMOPATH", "/var/www/html/vhosts/opac2/www/htdocs"); 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