create record here plugin - bug

By kitsguru - December 28, 2018

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