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,