Fix break misplaced error

This commit is contained in:
Benjamin Renard 2017-04-26 10:38:34 +02:00
parent fc4785ac79
commit 521f540a0c

View file

@ -159,7 +159,7 @@ class LSattr_html_select_list extends LSattr_html{
if ((!isset($conf['object_type'])) || ((!isset($conf['value_attribute'])) && (!isset($conf['values_attribute'])))) {
LSerror :: addErrorCode('LSattr_html_select_list_01',$this -> name);
break;
return;
}
if (!LSsession :: loadLSclass('LSsearch')) {
return;