Fix bad link and remove a break
This commit is contained in:
parent
5ef3c517bc
commit
c024578ca1
@ -217,7 +217,6 @@ if ($action == 'presend' && GETPOST('sendmail'))
|
|||||||
$langs->load("other");
|
$langs->load("other");
|
||||||
$resultmasssend.='<div class="error">'.$langs->trans('ErrorCantReadFile',$file).'</div>';
|
$resultmasssend.='<div class="error">'.$langs->trans('ErrorCantReadFile',$file).'</div>';
|
||||||
dol_syslog('Failed to read file: '.$file);
|
dol_syslog('Failed to read file: '.$file);
|
||||||
break ;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -471,8 +470,8 @@ if ($resql)
|
|||||||
else $titre.=' ('.$langs->trans("All").')';
|
else $titre.=' ('.$langs->trans("All").')';
|
||||||
|
|
||||||
$link='';
|
$link='';
|
||||||
if (empty($option)) $link='<a href="'.$_SERVER["PHP_SELF"].'?option=late">'.$langs->trans("ShowUnpaidLateOnly").'</a>';
|
if (empty($option)) $link='<a href="'.$_SERVER["PHP_SELF"].'?option=late'.$param.'">'.$langs->trans("ShowUnpaidLateOnly").'</a>';
|
||||||
elseif ($option == 'late') $link='<a href="'.$_SERVER["PHP_SELF"].'">'.$langs->trans("ShowUnpaidAll").'</a>';
|
elseif ($option == 'late') $link='<a href="'.$_SERVER["PHP_SELF"].($param?'?'.preg_replace('/&?(amps;)?option=late/','',$param):'').'">'.$langs->trans("ShowUnpaidAll").'</a>';
|
||||||
print_fiche_titre($titre,$link);
|
print_fiche_titre($titre,$link);
|
||||||
//print_barre_liste($titre,$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',0); // We don't want pagination on this page
|
//print_barre_liste($titre,$page,$_SERVER["PHP_SELF"],$param,$sortfield,$sortorder,'',0); // We don't want pagination on this page
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user