Overview
Comment: | Return correct form error on formula syntax error |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk | stable |
Files: | files | file ages | folders |
SHA1: |
ac91c51fec3cd09d497abd7ab6526ea9 |
User & Date: | bohwaz on 2020-12-13 21:06:15 |
Other Links: | manifest | tags |
Context
2020-12-14
| ||
13:50 | Add expense and revenues in projects view check-in: d1dbcfaa8d user: bohwaz tags: trunk, stable | |
2020-12-13
| ||
21:06 | Return correct form error on formula syntax error check-in: ac91c51fec user: bohwaz tags: trunk, stable | |
14:18 | Put 890 and 891 in the closing balance or the balance won't be balanced check-in: b744edc852 user: bohwaz tags: trunk, stable, 1.0.0-rc14 | |
Changes
Modified src/include/lib/Garradin/Entities/Services/Fee.php from [242617c34e] to [9485b2a6c5].
︙ | ︙ | |||
115 116 117 118 119 120 121 | try { $db = DB::getInstance(); $sql = $this->getFormulaSQL(); $db->protectSelect(['membres' => null], $sql); return true; } catch (\Exception $e) { | < | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | try { $db = DB::getInstance(); $sql = $this->getFormulaSQL(); $db->protectSelect(['membres' => null], $sql); return true; } catch (\Exception $e) { return false; } } public function service() { return EntityManager::findOneById(Service::class, $this->id_service); |
︙ | ︙ |