Overview
SHA1:63b302db2e11872626e0bc0013a53fd6d8e1bb2c
Date: 2018-01-19 22:13:04
User: bohwaz
Comment:Correction id_membre ambigu
Timelines: family | ancestors | descendants | both | trunk | stable
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-02-01
06:48
[a6838723b5] Corrige [3bee65659a67d3b8376a2399ba5fd05801ab5e03] (user: bohwaz, tags: trunk, stable)
2018-01-19
22:13
[63b302db2e] Correction id_membre ambigu (user: bohwaz, tags: trunk, stable)
2018-01-10
09:21
[4fd085ee54] Correction : ADMIN_URL est dans un autre namespace (user: bohwaz, tags: trunk, stable)
Changes

Modified src/include/lib/Garradin/Compta/Journal.php from [3f2a30e90b] to [dbbae959c0].

195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
     * @return array     Liste des membres liés
     */
    public function listRelatedMembers($id)
    {
        $db = DB::getInstance();
        $champ_id = Config::getInstance()->get('champ_identite');

        return $db->get('SELECT id_membre, id_cotisation, m.'.$champ_id.' AS identite
            FROM membres_operations AS mo INNER JOIN membres AS m ON mo.id_membre = m.id
            WHERE mo.id_operation = ?;', (int)$id);
    }

    protected function _checkFields(&$data)
    {
        $db = DB::getInstance();







|







195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
     * @return array     Liste des membres liés
     */
    public function listRelatedMembers($id)
    {
        $db = DB::getInstance();
        $champ_id = Config::getInstance()->get('champ_identite');

        return $db->get('SELECT mo.id_membre, mo.id_cotisation, m.'.$champ_id.' AS identite
            FROM membres_operations AS mo INNER JOIN membres AS m ON mo.id_membre = m.id
            WHERE mo.id_operation = ?;', (int)$id);
    }

    protected function _checkFields(&$data)
    {
        $db = DB::getInstance();