Fix last commit to be compliant also with php 5.4

This commit is contained in:
Benjamin Renard 2015-07-30 18:19:28 +02:00
parent d7ca2eea75
commit 0efde556ad

View file

@ -140,7 +140,7 @@ if(LSsession :: startLSsession()) {
'url' => 'create.php?LSobject='.$LSobject,
'action' => 'create'
);
if (!empty($object -> listValidIOformats())) {
if ($object -> listValidIOformats()) {
$LSview_actions['import'] = array (
'label' => 'Import',
'url' => 'import.php?LSobject='.$LSobject,