1
0
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:
Vadim Kurland 2011-05-17 12:45:48 -07:00
parent c91740d366
commit 24314576f4

View File

@ -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;
}