mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 05:49:23 +02:00
LCL: DBImage: fixed loading NULL blobs from Michael Van Canneyt (bug #10711)
git-svn-id: trunk@14122 -
This commit is contained in:
parent
40c644d22f
commit
4c570d42ab
@ -152,7 +152,7 @@ begin
|
||||
exit;
|
||||
end;
|
||||
s := FDataLink.DataSet.CreateBlobStream(FDataLink.Field,bmRead);
|
||||
if s.Size = 0 then
|
||||
if (S=Nil) or (s.Size = 0) then
|
||||
begin
|
||||
Picture.Clear;
|
||||
exit;
|
||||
|
Loading…
Reference in New Issue
Block a user