Overview
Comment:typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 6719940972ca6ab902b03f28c311480dcc0ab109
User & Date: bohwaz on 2016-06-24 13:34:31
Other Links: manifest | tags
Context
2016-06-25
12:33
Ajout de balise #URL_CSS_DEFAUT pour que la CSS pointe sur la version modifiée si elle l'a été check-in: f7d2a56ab1 user: bohwaz tags: trunk
2016-06-24
13:34
typo check-in: 6719940972 user: bohwaz tags: trunk, stable
13:28
Nouveller version uniquement pour forcer la mise à jour 0.7.2 à nouveau check-in: 5f5d25423d user: bohwaz tags: trunk, stable
Changes

Modified src/www/admin/upgrade.php from [9445504f7c] to [e7450be78d].

247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
if (version_compare($v, '0.7.3', '<'))
{
    // Bug étrange dans la 0.7.2 où la base de données n'est pas mise à jour,
    // donc on vérifie et refait la màj ici
    try {
        $db->exec('SELECT id_auteur FROM compta_rapprochement;');
    }
    catch (Exception $e)
    {
        $db->exec('PRAGMA foreign_keys = OFF; BEGIN;');
        $db->exec(file_get_contents(ROOT . '/include/data/0.7.2.sql'));
        $db->exec('END;');
    }
}








|







247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
if (version_compare($v, '0.7.3', '<'))
{
    // Bug étrange dans la 0.7.2 où la base de données n'est pas mise à jour,
    // donc on vérifie et refait la màj ici
    try {
        $db->exec('SELECT id_auteur FROM compta_rapprochement;');
    }
    catch (\Exception $e)
    {
        $db->exec('PRAGMA foreign_keys = OFF; BEGIN;');
        $db->exec(file_get_contents(ROOT . '/include/data/0.7.2.sql'));
        $db->exec('END;');
    }
}