mirror of
https://github.com/fwbuilder/fwbuilder
synced 2026-03-20 10:17:16 +01:00
see #2420 fixed the function (forgot to return value)
This commit is contained in:
parent
c91740d366
commit
24314576f4
@ -707,7 +707,8 @@ FWObject& FWObjectDatabase::duplicate(const FWObject *obj,
|
||||
bool preserve_id) throw(FWException)
|
||||
{
|
||||
setIgnoreReadOnlyFlag(true);
|
||||
FWObject::duplicate(obj, preserve_id);
|
||||
FWObject &o = FWObject::duplicate(obj, preserve_id);
|
||||
setIgnoreReadOnlyFlag(false);
|
||||
return o;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user