Skip to content

Fix a few "undefined" errors#8627

Merged
Sesquipedalian merged 2 commits intoSimpleMachines:release-3.0from
Oldiesmann:fix_undefined
May 2, 2025
Merged

Fix a few "undefined" errors#8627
Sesquipedalian merged 2 commits intoSimpleMachines:release-3.0from
Oldiesmann:fix_undefined

Conversation

@Oldiesmann
Copy link
Copy Markdown
Contributor

@Oldiesmann Oldiesmann commented May 1, 2025

Description

This fixes a few "undefined ..." errors:

  1. "Undefined variable: $row" in Sources/Actions/BoardIndex.php
  2. "Undefined variable: $groups_data" in Sources/Actions/Admin/Reports.phhp
  3. Missing "use SMF\Mail;" statement in Sources/Actions/Profile/Activate.php, resulting in undefined SMF\Actions\Profile\Mail error
  4. Call to undefined function sanitizeInputs in Sources\Actions\PollEdit2.php - Poll::sanitizeInputs was a protected method but PollEdit2 doesn't extend the Poll class

Comment thread Sources/Poll.php Outdated
@Sesquipedalian Sesquipedalian merged commit 44160ed into SimpleMachines:release-3.0 May 2, 2025
6 checks passed
@Oldiesmann Oldiesmann deleted the fix_undefined branch May 2, 2025 13:40
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.

2 participants