Skip to content

Fix isPageController to guard against non-string controller values#43

Open
benedict-w wants to merge 1 commit intoFormfeed-UK:mainfrom
benedict-w:main
Open

Fix isPageController to guard against non-string controller values#43
benedict-w wants to merge 1 commit intoFormfeed-UK:mainfrom
benedict-w:main

Conversation

@benedict-w
Copy link
Copy Markdown

Adds a type check to ensure $controller is a string before calling class_exists(), preventing errors when Nova tools or cached routes return non-string values.

Adds a type check to ensure $controller is a string before calling class_exists(), preventing errors when Nova tools or cached routes return non-string values.
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.

1 participant