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
Attachments:

createRecordHere.php 2K

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