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

createRecordHere.php 2K

By gregThomas - January 4, 2019

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:

Greg Thomas

PHP Programmer -