From c46f76c0f2d1d25aea4e323ee0ca8993eaa25211 Mon Sep 17 00:00:00 2001 From: philippe grand Date: Sun, 9 Oct 2016 11:32:48 +0200 Subject: [PATCH 1/2] better help --- htdocs/install/step1.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/install/step1.php b/htdocs/install/step1.php index a07dbc48168..1c661a77f78 100644 --- a/htdocs/install/step1.php +++ b/htdocs/install/step1.php @@ -53,7 +53,7 @@ $db_pass=GETPOST('db_pass'); $db_port=GETPOST('db_port','int'); $db_prefix=GETPOST('db_prefix','alpha'); -session_start(); // To be able to keep info into session (used for not loosing pass during navigation. pass must not transit throug parmaeters) +session_start(); // To be able to keep info into session (used for not losing password during navigation. The password must not transmit through parameters) // Save a flag to tell to restore input value if we do back $_SESSION['dol_save_pass']=$db_pass; From 14227549a8df44ad3bb3c526507ab3c0610413dc Mon Sep 17 00:00:00 2001 From: philippe grand Date: Fri, 21 Oct 2016 16:03:56 +0200 Subject: [PATCH 2/2] Fix : Fatal error: Call to a member function fetch() on null --- htdocs/fichinter/card.php | 1 + 1 file changed, 1 insertion(+) diff --git a/htdocs/fichinter/card.php b/htdocs/fichinter/card.php index c12eba0a7c4..1f795cf7bdc 100644 --- a/htdocs/fichinter/card.php +++ b/htdocs/fichinter/card.php @@ -918,6 +918,7 @@ if ($action == 'create') if ($socid > 0) { + $soc=new Societe($db); $soc->fetch($socid); print '
';