Skip to content

Commit

Permalink
15550: Fixes bug where CAMLs without headers were not read correctly (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
calebwherry authored Mar 6, 2024
1 parent 392eba7 commit 415ea41
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Amalgam/importexport/FileSupportCAML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,10 @@ std::tuple<std::string, std::string, bool> FileSupportCAML::ReadHeader(std::ifst
if(!success)
return std::make_tuple(error_message, version, false);
}
else
{
return std::make_tuple("CAML does not contain a valid header", "", false);
}

return std::make_tuple("", "", true);
}
Expand Down

0 comments on commit 415ea41

Please sign in to comment.