FIX : #15373 Reset invalid email script

This commit is contained in:
lmarcouiller 2020-11-13 11:07:35 +01:00
parent a1f26f2b55
commit 304e4ac8e6
2 changed files with 2 additions and 2 deletions

View File

@ -807,7 +807,7 @@ if ($mode == 'standard')
// For year
$prevyear = $year - 1; $nextyear = $year + 1;
$link = "<a href='".$_SERVER["PHP_SELF"]."?account="."&year=".($prevyear)."'>".img_previous('', 'class="valignbottom"')."</a> ".$langs->trans("Year")." <a href='".$_SERVER["PHP_SELF"]."?account=".$account."&year=".($nextyear)."'>".img_next('', 'class="valignbottom"')."</a>";
$link = "<a href='".$_SERVER["PHP_SELF"]."?account=".$account."&year=".($prevyear)."'>".img_previous('', 'class="valignbottom"')."</a> ".$langs->trans("Year")." <a href='".$_SERVER["PHP_SELF"]."?account=".$account."&year=".($nextyear)."'>".img_next('', 'class="valignbottom"')."</a>";
print '<div class="right clearboth margintoponly">'.$link.'</div>';

View File

@ -88,7 +88,7 @@ if (!$myfile)
}
$tmp = 1;
while($tmp!=null)
while ($tmp!=null)
{
$groupofemails=array();
for ($i=0; $i < MAXEMAILS; $i++)