bugfix
This commit is contained in:
parent
a0b32f725d
commit
cd2991b4f4
@ -535,6 +535,8 @@ $html = new Form($db);
|
|||||||
*/
|
*/
|
||||||
if ($_GET['propalid'] > 0)
|
if ($_GET['propalid'] > 0)
|
||||||
{
|
{
|
||||||
|
$propalid = $_GET['propalid']
|
||||||
|
|
||||||
if ($msg) print "$msg<br>";
|
if ($msg) print "$msg<br>";
|
||||||
|
|
||||||
$propal = new Propal($db);
|
$propal = new Propal($db);
|
||||||
@ -610,7 +612,7 @@ if ($_GET['propalid'] > 0)
|
|||||||
print '</td><td colspan="3">';
|
print '</td><td colspan="3">';
|
||||||
if ($user->rights->propale->creer && $_GET['action'] == 'refclient')
|
if ($user->rights->propale->creer && $_GET['action'] == 'refclient')
|
||||||
{
|
{
|
||||||
print '<form action="fiche.php?propalid='.$id.'" method="post">';
|
print '<form action="fiche.php?propalid='.$propalid.'" method="post">';
|
||||||
print '<input type="hidden" name="action" value="set_ref_client">';
|
print '<input type="hidden" name="action" value="set_ref_client">';
|
||||||
print '<input type="text" class="flat" size="20" name="ref_client" value="'.$propal->ref_client.'">';
|
print '<input type="text" class="flat" size="20" name="ref_client" value="'.$propal->ref_client.'">';
|
||||||
print ' <input type="submit" class="button" value="'.$langs->trans('Modify').'">';
|
print ' <input type="submit" class="button" value="'.$langs->trans('Modify').'">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user