Commit 84a4f410 authored by Fares's avatar Fares

fix(members): remove non-existent created_by from archive_snapshots query

Co-Authored-By: 's avatarClaude Opus 4.6 <noreply@anthropic.com>
parent 7add80a7
...@@ -939,7 +939,7 @@ class MemberController extends Controller ...@@ -939,7 +939,7 @@ class MemberController extends Controller
// Archive snapshots for this member // Archive snapshots for this member
$snapshots = $db->select( $snapshots = $db->select(
"SELECT id, snapshot_reason, membership_number, snapshot_taken_at, created_by "SELECT id, snapshot_reason, membership_number, snapshot_taken_at
FROM archive_snapshots WHERE entity_type = 'members' AND entity_id = ? FROM archive_snapshots WHERE entity_type = 'members' AND entity_id = ?
ORDER BY snapshot_taken_at DESC", ORDER BY snapshot_taken_at DESC",
[$memberId] [$memberId]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment