create record here plugin - bug
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: January 4, 2019 (RSS)
In the "create record here", if the section has add record disabled, the plugin still allows records to be added.
I have added the following code at line 23 which seems to fix the issue.
if (@$schema['_disableAdd'] === '1') { return $actionLinks; } // skip sections with add disabled
Jeff Shields
Hey Jeff,
Thanks for letting us know about this issue, as well as providing a fix.
I've tested your solution and pushed a new version of the plugin with it in, you can see it here:
https://www.interactivetools.com/plugins/create-record-here/
Greg Thomas
PHP Programmer - interactivetools.com
PHP Programmer - interactivetools.com