Skip to content

Fix warning in DisqusResource->__call() method#39

Open
Dustin4444 wants to merge 1 commit intodisqus:masterfrom
Dustin4444:fix-warning
Open

Fix warning in DisqusResource->__call() method#39
Dustin4444 wants to merge 1 commit intodisqus:masterfrom
Dustin4444:fix-warning

Conversation

@Dustin4444
Copy link

Add a check to ensure $args has an element at index 0 before accessing it in the __call method of the DisqusResource class.

  • Modify line 78 in disqusapi/disqusapi.php to check if $args has an element at index 0 before accessing it.

Add a check to ensure `$args` has an element at index 0 before accessing it in the `__call` method of the `DisqusResource` class.

* Modify line 78 in `disqusapi/disqusapi.php` to check if `$args` has an element at index 0 before accessing it.
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