* Fixed AV when no owner is set

git-svn-id: trunk@17262 -
This commit is contained in:
joost 2011-04-06 10:15:37 +00:00
parent 53ca12f8ab
commit b911e3d1c3

View File

@ -812,7 +812,7 @@ begin
exit;
end;
end
else //if (owner is TDataModule) then
else if assigned(Owner) then //if (owner is TDataModule) then
begin
for i := 0 to owner.ComponentCount-1 do if owner.Components[i] is TWebController then
begin