Commit c95206aa4a63314bf9ce1071d3f085844dbbbeaf

Authored by Etienne Pallier
1 parent 288d8fea
Exists in master and in 2 other branches dev, dev-IRAP

bugfix Emprunt

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/Model/Table/EmpruntsTable.php
... ... @@ -112,10 +112,10 @@ class EmpruntsTable extends AppTable
112 112 function ($context) {
113 113 //debug($context);
114 114 //if ($context['providers']['entity']['emprunt_interne'] !== null) {
115   - //if ( !empty($context['data']) && !is_null($context['data']['emprunt_interne']) ) {
  115 + if ( !empty($context['data']) && !is_null($context['data']['emprunt_interne']) ) {
116 116 return ! $context['data']['emprunt_interne'];
117 117 //return $context['providers']['entity']['emprunt_interne'];
118   - //}
  118 + }
119 119 }
120 120 );
121 121  
... ...