sudhaus7 / fe-data-history

TYPO3 Extension for logging Frontend user changed data in sys_history

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HistoryRecord.php: inject DataMapper to prevent errors

janamedick opened this issue · comments

in Classes > Traits > HistoryRecord.php: the dataMapper should be injected and used as $this->dataMapper in getTableName() and getDbFieldName() to prevent errors when adding objects via extbase (such as empty constructor arguments)

see HistoryRecord.php