From 0efde556ad70cf2836626a73d6b5e2acb44d9104 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 30 Jul 2015 18:19:28 +0200 Subject: [PATCH] Fix last commit to be compliant also with php 5.4 --- public_html/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/view.php b/public_html/view.php index 932610a7..7deeb9a5 100644 --- a/public_html/view.php +++ b/public_html/view.php @@ -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,