mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 08:19:05 +01:00
Fix some PHP warnings
This commit is contained in:
parent
71972ea90c
commit
55d78db99f
1 changed files with 4 additions and 4 deletions
|
@ -398,11 +398,11 @@ function handle_LSobject_search($request) {
|
||||||
if (LSsession :: canExecuteLSsearchCustomAction($LSsearch,$name)) {
|
if (LSsession :: canExecuteLSsearchCustomAction($LSsearch,$name)) {
|
||||||
$LSview_actions[] = array (
|
$LSview_actions[] = array (
|
||||||
'label' => ((isset($config['label']))?__($config['label']):__($name)),
|
'label' => ((isset($config['label']))?__($config['label']):__($name)),
|
||||||
'hideLabel' => ((isset($config['hideLabel']))?$config['hideLabel']:False),
|
'hideLabel' => ((isset($config['hideLabel']) && $config['hideLabel'])?$config['hideLabel']:False),
|
||||||
'helpInfo' => ((isset($config['helpInfo']))?__($config['helpInfo']):False),
|
'helpInfo' => ((isset($config['helpInfo']))?__($config['helpInfo']):False),
|
||||||
'url' => "object/$LSobject/customAction/$name",
|
'url' => "object/$LSobject/customAction/$name",
|
||||||
'action' => ((isset($config['icon']))?$config['icon']:'generate'),
|
'action' => ((isset($config['icon']))?$config['icon']:'generate'),
|
||||||
'class' => 'LScustomActions'.(($config['noConfirmation'])?' LScustomActions_noConfirmation':'')
|
'class' => 'LScustomActions'.((isset($config['noConfirmation']) && $config['noConfirmation'])?' LScustomActions_noConfirmation':'')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -916,11 +916,11 @@ function handle_LSobject_show($request) {
|
||||||
if (LSsession :: canExecuteCustomAction($dn, $LSobject, $name)) {
|
if (LSsession :: canExecuteCustomAction($dn, $LSobject, $name)) {
|
||||||
$LSview_actions[] = array (
|
$LSview_actions[] = array (
|
||||||
'label' => ((isset($config['label']))?__($config['label']):__($name)),
|
'label' => ((isset($config['label']))?__($config['label']):__($name)),
|
||||||
'hideLabel' => ((isset($config['hideLabel']))?$config['hideLabel']:False),
|
'hideLabel' => ((isset($config['hideLabel']) && $config['hideLabel'])?$config['hideLabel']:False),
|
||||||
'helpInfo' => ((isset($config['helpInfo']))?__($config['helpInfo']):False),
|
'helpInfo' => ((isset($config['helpInfo']))?__($config['helpInfo']):False),
|
||||||
'url' => "object/$LSobject/".urlencode($dn)."/customAction/".urlencode($name),
|
'url' => "object/$LSobject/".urlencode($dn)."/customAction/".urlencode($name),
|
||||||
'action' => ((isset($config['icon']))?$config['icon']:'generate'),
|
'action' => ((isset($config['icon']))?$config['icon']:'generate'),
|
||||||
'class' => 'LScustomActions'.(($config['noConfirmation'])?' LScustomActions_noConfirmation':'')
|
'class' => 'LScustomActions'.((isset($config['noConfirmation']) && $config['noConfirmation'])?' LScustomActions_noConfirmation':'')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue