# HG changeset patch # User Sebastien Jodogne # Date 1749804580 -7200 # Node ID a7e762b386f159438437e803d9c14ea47e9cf97a # Parent 9e1bf1a1af501c573afdf798ef3ea698af1bd336 fix handling custom data of deleted files diff -r 9e1bf1a1af50 -r a7e762b386f1 OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp --- a/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Fri Jun 13 08:04:30 2025 +0200 +++ b/OrthancServer/Sources/Database/SQLiteDatabaseWrapper.cpp Fri Jun 13 10:49:40 2025 +0200 @@ -1399,8 +1399,8 @@ if (s.Step()) { - if (s.ColumnIsNull(C6_STRING_4) || - !s.ColumnBlobAsString(C6_STRING_4, &customData)) + if (s.ColumnIsNull(0) || + !s.ColumnBlobAsString(0, &customData)) { customData.clear(); }