Severity: MEDIUM
Location: src/Models/UserCredit.php:163
Bug: Convention violation; safe for now but fragile.
Fix: Bind :limit, :offset as proper parameters.
Status: open. Will reply with remediation details when resolved.
Severity: MEDIUM
Location: src/Models/UserCredit.php:163
Bug: Convention violation; safe for now but fragile.
Fix: Bind :limit, :offset as proper parameters.
Status: open. Will reply with remediation details when resolved.
Resolved.
UserCredit::history now binds LIMIT and OFFSET as proper PDO parameters (:lim, :off) instead of string-interpolating $limit and $offset (src/Models/UserCredit.php). Matches the codebase convention enforced everywhere else and removes a latent concern if the DB driver ever switches away from emulated prepares.
Locking this thread.
We noticed you are visiting from a mobile device. We are glad you are here, but know that 6502ish is best experienced on the desktop. Some features are not easily used via mobile and your experience may vary from the full experience via desktop.