diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-05-29 17:47:24 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-05-29 17:47:24 +0200 |
commit | d377a9a33705e6f51011ab46a685b386a4daeef2 (patch) | |
tree | b0997cbe62c139ad82f13d9f71aca4c410c02ae6 /generator/after-bake/src | |
parent | d5ee9fb467f864f0f09c7d073502dc803694caef (diff) | |
download | chd_gestion-d377a9a33705e6f51011ab46a685b386a4daeef2.zip chd_gestion-d377a9a33705e6f51011ab46a685b386a4daeef2.tar.gz chd_gestion-d377a9a33705e6f51011ab46a685b386a4daeef2.tar.bz2 |
Bugfix : Equipement/view : uplink was always blank
Diffstat (limited to 'generator/after-bake/src')
-rw-r--r-- | generator/after-bake/src/Template/Equipements/view.ctp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/after-bake/src/Template/Equipements/view.ctp b/generator/after-bake/src/Template/Equipements/view.ctp index 08b5e25..265c28c 100644 --- a/generator/after-bake/src/Template/Equipements/view.ctp +++ b/generator/after-bake/src/Template/Equipements/view.ctp @@ -40,7 +40,7 @@ <table class="vertical-table"> <tr> <th><?= __('Uplink') ?></th> - <td><?= $equipement->has('equipement') ? $this->Html->link($equipement->equipement->title, ['controller' => 'Equipements', 'action' => 'view', $equipement->equipement->id]) : '' ?></td> + <td><?= $equipement->has('uplink_id') ? $this->Html->link($equipement->uplink_id, ['controller' => 'Equipements', 'action' => 'view', $equipement->uplink_id]) : '' ?></td> </tr> <tr> <th><?= __('Mac') ?></th> |