Fix error management
This commit is contained in:
parent
a43dcbd0c5
commit
47c0231fb8
@ -323,9 +323,9 @@ if (empty($reshook))
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($error)
|
if (! $error)
|
||||||
{
|
{
|
||||||
if ($action == 'update')
|
if ($action == 'update')
|
||||||
{
|
{
|
||||||
$ret=$object->fetch($socid);
|
$ret=$object->fetch($socid);
|
||||||
$object->oldcopy = clone $object;
|
$object->oldcopy = clone $object;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user