View Issue Details

IDProjectCategoryView StatusLast Update
0000891XMB1Bugspublic2026-05-04 10:03
Reporterflushedpancake Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version1.10.00 
Target Version1.10.03Fixed in Version1.10.03 
Summary0000891: enabling 'show moderator actions' in the admin panel breaks a thread with no post-creation actions done to it
Descriptionprobably no failsafe for null values
Additional Information[04-May-2026 08:18:07 America/Los_Angeles] PHP Fatal error: Uncaught TypeError: XMB\SQL::getPostsAndLogsForThreadPage(): Return value must be of type array, mysqli_result returned in include/sql.inc.php:1357

Wrong variable is returned by this method. It was intended to work the same way as method getPostsForThreadPage. It looks like a simple copypasta mistake.

[04-May-2026 08:31:18 America/Los_Angeles] PHP Warning: Undefined variable $date in viewthread.php on line 481
[04-May-2026 08:31:18 America/Los_Angeles] PHP Warning: Undefined variable $time in viewthread.php on line 481

Not sure what happened here. Need to compare with 1.9.12 and fix. Should be fairly simple.
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision
Git Commithttps://github.com/miqrogroove/xmb/commit/c153379ad06ccb0a73b37c9585fd59e15e57ac3c

Activities

miqrogroove

2026-05-04 08:24

administrator   ~0000607

Thank you. This should be a nice addition for the next release. Editing the details now.

miqrogroove

2026-05-04 08:35

administrator   ~0000608

These lines in the lost and found now...

https://github.com/miqrogroove/xmb/blob/7a1704deb8c77e8009128a492942204a2e53b196/viewthread.php#L542-L543

miqrogroove

2026-05-04 08:38

administrator   ~0000609

Display of modlogs used to be part of what is now class ThreadRender. This needs to be un-broken for completeness.

Issue History

Date Modified Username Field Change
2026-04-27 16:24 flushedpancake New Issue
2026-05-04 08:24 miqrogroove Reproducibility have not tried => always
2026-05-04 08:24 miqrogroove Status new => confirmed
2026-05-04 08:24 miqrogroove Product Version => 1.10.00
2026-05-04 08:24 miqrogroove Target Version => 1.10.03
2026-05-04 08:24 miqrogroove Additional Information Updated
2026-05-04 08:24 miqrogroove Note Added: 0000607
2026-05-04 08:25 miqrogroove Assigned To => miqrogroove
2026-05-04 08:25 miqrogroove Status confirmed => assigned
2026-05-04 08:32 miqrogroove Additional Information Updated
2026-05-04 08:35 miqrogroove Note Added: 0000608
2026-05-04 08:38 miqrogroove Note Added: 0000609
2026-05-04 10:03 miqrogroove Status assigned => resolved
2026-05-04 10:03 miqrogroove Resolution open => fixed
2026-05-04 10:03 miqrogroove Fixed in Version => 1.10.03
2026-05-04 10:03 miqrogroove Git Commit => https://github.com/miqrogroove/xmb/commit/c153379ad06ccb0a73b37c9585fd59e15e57ac3c