Fix: Bad link
This commit is contained in:
parent
4875d5b969
commit
b996645589
@ -189,7 +189,7 @@ if ($resql)
|
|||||||
|
|
||||||
print "<td><a href=\"ligne.php?rowid=$objp->rowid&account=$objp->fk_account\">";
|
print "<td><a href=\"ligne.php?rowid=$objp->rowid&account=$objp->fk_account\">";
|
||||||
$reg=array();
|
$reg=array();
|
||||||
eregi('\((.+)\)',$objp->label,$reg); // Si texte entouré de parenthèe on tente recherche de traduction
|
eregi('\((.+)\)',$objp->label,$reg); // Si texte entour<EFBFBD> de parenth<74>e on tente recherche de traduction
|
||||||
if ($reg[1] && $langs->trans($reg[1])!=$reg[1]) print $langs->trans($reg[1]);
|
if ($reg[1] && $langs->trans($reg[1])!=$reg[1]) print $langs->trans($reg[1]);
|
||||||
else print dol_trunc($objp->label,40);
|
else print dol_trunc($objp->label,40);
|
||||||
print "</a> ";
|
print "</a> ";
|
||||||
@ -223,7 +223,7 @@ if ($resql)
|
|||||||
|
|
||||||
// Bank account
|
// Bank account
|
||||||
print '<td align="left" nowrap="nowrap">';
|
print '<td align="left" nowrap="nowrap">';
|
||||||
$bankaccountstatic->id=$objp->url_id;
|
$bankaccountstatic->id=$objp->bankid;
|
||||||
$bankaccountstatic->label=$objp->bankref;
|
$bankaccountstatic->label=$objp->bankref;
|
||||||
print $bankaccountstatic->getNomUrl(1);
|
print $bankaccountstatic->getNomUrl(1);
|
||||||
print "</td>\n";
|
print "</td>\n";
|
||||||
@ -241,7 +241,7 @@ else
|
|||||||
dol_print_error($db);
|
dol_print_error($db);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Si accès issu d'une recherche et rien de trouvé
|
// Si acc<EFBFBD>s issu d'une recherche et rien de trouv<75>
|
||||||
if ($_POST["action"] == "search" && ! $num)
|
if ($_POST["action"] == "search" && ! $num)
|
||||||
{
|
{
|
||||||
print $langs->trans("NoRecordFound");
|
print $langs->trans("NoRecordFound");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user