Modification de la valeur de conf stockée, on ne stock que le nom
This commit is contained in:
parent
6c52591a31
commit
5cb03414c8
@ -148,7 +148,7 @@ while (($file = readdir($handle))!==false)
|
|||||||
|
|
||||||
print '</td><td align="center">';
|
print '</td><td align="center">';
|
||||||
|
|
||||||
if ($facture_addon_var_pdf == "$file")
|
if ($facture_addon_var_pdf == "$name")
|
||||||
{
|
{
|
||||||
print '<img src="/theme/'.$conf->theme.'/img/tick.png" border="0"></a>';
|
print '<img src="/theme/'.$conf->theme.'/img/tick.png" border="0"></a>';
|
||||||
}
|
}
|
||||||
@ -159,7 +159,7 @@ while (($file = readdir($handle))!==false)
|
|||||||
|
|
||||||
print "</td><td>\n";
|
print "</td><td>\n";
|
||||||
|
|
||||||
print '<a href="facture.php?action=setpdf&value='.$file.'">activer</a>';
|
print '<a href="facture.php?action=setpdf&value='.$name.'">activer</a>';
|
||||||
|
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user