Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Undefined array key warnings #10

Merged
merged 2 commits into from Oct 14, 2023
Merged

Fix Undefined array key warnings #10

merged 2 commits into from Oct 14, 2023

Conversation

dregad
Copy link
Collaborator

@dregad dregad commented May 26, 2023

Warning: Undefined array key "newpagetemplate" in .../dokuwiki/lib/plugins/newpagetemplate/action.php on line 66

Warning: Undefined array key 1 in .../dokuwiki/lib/plugins/newpagetemplate/action.php on line 80

@dregad dregad changed the base branch from master to cli May 26, 2023 09:47
- Use $INPUT global instead of $_REQUEST to access query parameters.
- Call sexplode() instead of explode()
@dregad dregad changed the title Fix Undefined array key warning Fix Undefined array key warnings Sep 24, 2023
@dregad
Copy link
Collaborator Author

dregad commented Sep 24, 2023

Context: these warnings are thrown when using the addnewpage plugin, and the calling {{NEWPAGE}} tag does not include the newpagetemplate and/or newpagevars parameters

@dregad dregad merged commit 38e98d9 into turnermm:cli Oct 14, 2023
@dregad dregad deleted the undefined-array-key branch October 14, 2023 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant