Overview
Comment: | Fix typo between constant and defined functions |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA3-256: |
f104b0a4bfe1aefdc13d7df79ae8aa4e |
User & Date: | bohwaz on 2023-05-18 12:36:37 |
Other Links: | branch diff | manifest | tags |
Context
2023-05-18
| ||
12:44 | Make sure mailing target ID is not empty check-in: db5b17419e user: bohwaz tags: dev | |
12:36 | Fix typo between constant and defined functions check-in: f104b0a4bf user: bohwaz tags: dev | |
12:24 | Fix order of listed fields check-in: c215a6760e user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Log.php from [012a4138b7] to [4abbd78347].
︙ | ︙ | |||
167 168 169 170 171 172 173 | $row->details = $row->details ? json_decode($row->details) : null; $row->type_label = self::ACTIONS[$row->type]; if (isset($row->details->entity) && defined('Garradin\Entities\\' . $row->details->entity . '::NAME')) { $row->entity_name = constant('Garradin\Entities\\' . $row->details->entity . '::NAME'); } | | | 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 | $row->details = $row->details ? json_decode($row->details) : null; $row->type_label = self::ACTIONS[$row->type]; if (isset($row->details->entity) && defined('Garradin\Entities\\' . $row->details->entity . '::NAME')) { $row->entity_name = constant('Garradin\Entities\\' . $row->details->entity . '::NAME'); } if (isset($row->details->id, $row->details->entity) && defined('Garradin\Entities\\' . $row->details->entity . '::PRIVATE_URL')) { $row->entity_url = sprintf(constant('Garradin\Entities\\' . $row->details->entity . '::PRIVATE_URL'), $row->details->id); } }); return $list; } } |