Fix : Fatal error: Call to a member function fetch() on null

This commit is contained in:
philippe grand 2016-10-21 16:03:56 +02:00
parent 12af0de9f1
commit 14227549a8

View File

@ -918,6 +918,7 @@ if ($action == 'create')
if ($socid > 0)
{
$soc=new Societe($db);
$soc->fetch($socid);
print '<form name="fichinter" action="'.$_SERVER['PHP_SELF'].'" method="POST">';