Overview
Comment: | Si id_projet = 0, id_projet = null |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
0877bac460bfdaf44758954ea1c6ca7d |
User & Date: | bohwaz on 2017-10-12 10:31:01 |
Other Links: | branch diff | manifest | tags |
Context
2017-10-12
| ||
10:31 | forEach est tout moderne pour palemoon :( check-in: bf446099b2 user: bohwaz tags: dev | |
10:31 | Si id_projet = 0, id_projet = null check-in: 0877bac460 user: bohwaz tags: dev | |
10:30 | Fix: sélecteur de compte dans l'édition d'écriture avancée check-in: 3464e28fd8 user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Compta/Journal.php from [28552cfb1f] to [3f2a30e90b].
︙ | ︙ | |||
309 310 311 312 313 314 315 | } if (isset($data['id_auteur'])) { $data['id_auteur'] = (int)$data['id_auteur']; } | > > > > | | 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 | } if (isset($data['id_auteur'])) { $data['id_auteur'] = (int)$data['id_auteur']; } if (empty($data['id_projet'])) { $data['id_projet'] = null; } elseif (isset($data['id_projet'])) { $data['id_projet'] = (int)$data['id_projet']; if (!$db->test('compta_projets', $db->where('id', $data['id_projet']))) { throw new UserException('Projet inconnu.'); } |
︙ | ︙ |