[Plugin: FD Footnotes Plugin] PHP Notices on Footnotes Configuration page
-
Hi FD. This is a great plugin. Thank you for creating it. I want to give you a heads up about a PHP notice that is triggered after activation of the plugin for the first time, before a user saves his options on the
fd-footnotes/fdfootnotes.php
page. The notice is as follows:Notice: Undefined index: fdfootnote_single in ...\wp-content\plugins\fd-footnotes\fdfootnotes.php on line 94
On line 59 of this file there is the following code:
if (!isset($options['fdfootnote_collapse'])) $options['fdfootnote_collapse'] = 0;
I changed the code to this:
if (!isset($options['fdfootnote_collapse'])) $options['fdfootnote_collapse'] = 0; if (!isset($options['fdfootnote_single'])) $options['fdfootnote_single'] = 0;
This seems to fix the problem. Again, thanks for your great plugin. Cheers.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: FD Footnotes Plugin] PHP Notices on Footnotes Configuration page’ is closed to new replies.