From d128df1fe571adfe385c6d9a9035e6e71bb0bb72 Mon Sep 17 00:00:00 2001
From: Laurent Destailleur <eldy@destailleur.fr>
Date: Mon, 22 Feb 2016 14:33:14 +0100
Subject: [PATCH] Fix js error .submit is not a function

---
 htdocs/societe/soc.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php
index 1eaff21f05f..ddc23769f46 100644
--- a/htdocs/societe/soc.php
+++ b/htdocs/societe/soc.php
@@ -1271,7 +1271,7 @@ else
         dol_fiche_end();
 
         print '<div class="center">';
-        print '<input type="submit" class="button" name="submit" value="'.$langs->trans('AddThirdParty').'">';
+        print '<input type="submit" class="button" name="create" value="'.$langs->trans('AddThirdParty').'">';
         if ($backtopage)
         {
             print ' &nbsp; ';
-- 
GitLab