terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Fix warning in debug mode when saving a `tl_module.node` field #53

Closed fritzmg closed 4 months ago

fritzmg commented 5 months ago

When the debug mode is enabled and you create a new front end module with nodes (e.g. mod_nodes), it cannot be saved as a warning occurs on save since $this->activeRecord->ptable will not exist for the tl_module DataContainer. This PR fixes that.

aschempp commented 4 months ago

Thank you @fritzmg