Overview
Comment:Correction id_membre ambigu
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | stable
Files: files | file ages | folders
SHA1: 63b302db2e11872626e0bc0013a53fd6d8e1bb2c
User & Date: bohwaz on 2018-01-19 22:13:04
Other Links: manifest | tags
Context
2018-02-01
06:48
Corrige [3bee65659a67d3b8376a2399ba5fd05801ab5e03] check-in: a6838723b5 user: bohwaz tags: trunk, stable
2018-01-19
22:13
Correction id_membre ambigu check-in: 63b302db2e user: bohwaz tags: trunk, stable
2018-01-10
09:21
Correction : ADMIN_URL est dans un autre namespace check-in: 4fd085ee54 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();