fix problems from tests
This commit is contained in:
+4
-1
@@ -237,7 +237,10 @@ protected:
|
||||
}
|
||||
else
|
||||
{
|
||||
obj->setProperty("updatedBy", Context::instance().currentUser()->login());
|
||||
if (!Context::instance().currentUser().isNull()) {
|
||||
obj->setProperty("updatedBy", Context::instance().currentUser()->login());
|
||||
}
|
||||
|
||||
obj->setProperty("updated", QDateTime::currentDateTime());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user