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 '
'; 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;