Overview
Comment: | Eviter erreur si le compte n'est pas dans la liste |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
7d5024ed3037cc70823fd153baf90053 |
User & Date: | bohwaz on 2018-05-10 10:55:00 |
Other Links: | manifest | tags |
References
2020-12-08
| ||
23:25 | • Wiki page "Changelog/0.9" artifact: b9c916b4d1 user: bohwaz | |
Context
2018-05-10
| ||
10:57 | Gérer les comptes vides (quand le numéro du compte est vide, erreur causée par une base corrompue par l'utilisateur) check-in: 80a8e0d803 user: bohwaz tags: trunk | |
10:55 | Eviter erreur si le compte n'est pas dans la liste check-in: 7d5024ed30 user: bohwaz tags: trunk | |
10:53 | Supprimer seulement quand le fichier existe (erreur rare d'accès concurrents) check-in: 0de2c604e1 user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Template.php from [0b1f08cd93] to [6da4919ab4].
︙ | ︙ | |||
72 73 74 75 76 77 78 79 80 81 82 83 84 85 | return ''; } if (!isset($this->liste_comptes)) { $this->liste_comptes = (new Compta\Comptes)->getListAll(); } return $this->liste_comptes[$compte]; }); $this->register_modifier('strftime_fr', function ($ts, $format) { return Utils::strftime_fr($format, $ts); }); | > > > > > | 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | return ''; } if (!isset($this->liste_comptes)) { $this->liste_comptes = (new Compta\Comptes)->getListAll(); } if (!isset($this->liste_comptes[$compte])) { return ''; } return $this->liste_comptes[$compte]; }); $this->register_modifier('strftime_fr', function ($ts, $format) { return Utils::strftime_fr($format, $ts); }); |
︙ | ︙ |