mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-26 11:52:59 +01:00
LSrelation :: ajax_refreshList() : Fixed notice PHP
This commit is contained in:
parent
4409f854cf
commit
6d16a7c5c5
1 changed files with 1 additions and 0 deletions
|
@ -192,6 +192,7 @@ class LSrelation {
|
||||||
if (method_exists($relationConf['LSobject'],$relationConf['list_function'])) {
|
if (method_exists($relationConf['LSobject'],$relationConf['list_function'])) {
|
||||||
$list = $objRel -> $relationConf['list_function']($object);
|
$list = $objRel -> $relationConf['list_function']($object);
|
||||||
if (is_array($list)&&(!empty($list))) {
|
if (is_array($list)&&(!empty($list))) {
|
||||||
|
$data['html']="";
|
||||||
foreach($list as $o) {
|
foreach($list as $o) {
|
||||||
if (isset($relationConf['canEdit_function'])) {
|
if (isset($relationConf['canEdit_function'])) {
|
||||||
if ($o -> $relationConf['canEdit_function']()) {
|
if ($o -> $relationConf['canEdit_function']()) {
|
||||||
|
|
Loading…
Reference in a new issue