Fix: withdrawal debug
This commit is contained in:
parent
e8f4c433e3
commit
c6f6a4524b
@ -187,9 +187,9 @@ if ($conf->global->MAIN_MODULE_NOTIFICATION)
|
|||||||
print '</td>';
|
print '</td>';
|
||||||
print '<td>';
|
print '<td>';
|
||||||
print '<select name="action">';
|
print '<select name="action">';
|
||||||
$sql = "SELECT ad.rowid, ad.code, ad.titre";
|
$sql = "SELECT rowid, code, titre";
|
||||||
$sql.= " FROM action_def as ad";
|
$sql.= " FROM ".MAIN_DB_PREFIX."action_def";
|
||||||
$sql.= " WHERE ad.objet_type = 'withdraw'";
|
$sql.= " WHERE objet_type = 'withdraw'";
|
||||||
$resql = $db->query($sql);
|
$resql = $db->query($sql);
|
||||||
if ($resql)
|
if ($resql)
|
||||||
{
|
{
|
||||||
@ -200,6 +200,7 @@ if ($conf->global->MAIN_MODULE_NOTIFICATION)
|
|||||||
{
|
{
|
||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
print '<option value="'.$obj->code.'">'.$obj->titre.'</option>';
|
print '<option value="'.$obj->code.'">'.$obj->titre.'</option>';
|
||||||
|
$i++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print '</select></td>';
|
print '</select></td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user