Fix : Fatal error: Call to a member function fetch() on null
This commit is contained in:
parent
12af0de9f1
commit
14227549a8
@ -918,6 +918,7 @@ if ($action == 'create')
|
|||||||
|
|
||||||
if ($socid > 0)
|
if ($socid > 0)
|
||||||
{
|
{
|
||||||
|
$soc=new Societe($db);
|
||||||
$soc->fetch($socid);
|
$soc->fetch($socid);
|
||||||
|
|
||||||
print '<form name="fichinter" action="'.$_SERVER['PHP_SELF'].'" method="POST">';
|
print '<form name="fichinter" action="'.$_SERVER['PHP_SELF'].'" method="POST">';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user