From 3e51d2f537b6b052b939fd973f382edc8b8d1a03 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 8 Jun 2017 11:51:22 +0200 Subject: [PATCH] Fix backto link after creating a third party --- htdocs/core/class/html.form.class.php | 2 +- htdocs/societe/card.php | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index e4f6ec7bbcb..7a69172889e 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -5760,7 +5760,7 @@ class Form $disabled = ($disabled ? ' disabled' : ''); $resultyesno = ''; - if (GETPOST("type") == '') print ''; + if (GETPOST("type") == '') print ''; if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS)) print ''; if (empty($conf->global->SOCIETE_DISABLE_PROSPECTS) && empty($conf->global->SOCIETE_DISABLE_CUSTOMERS) && empty($conf->global->SOCIETE_DISABLE_PROSPECTSCUSTOMERS)) print ''; if (empty($conf->global->SOCIETE_DISABLE_CUSTOMERS)) print '';