mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-11 15:10:40 +01:00
* Fix bug ID #33012 (duplicate module), patch from Sven Barth
git-svn-id: trunk@37952 -
This commit is contained in:
parent
f930d186f0
commit
b4375fd37a
@ -344,10 +344,12 @@ begin
|
||||
MN:=Sender.ModuleName;
|
||||
// Modules expect the path info to contain the action name as the first part. (See getmodulename);
|
||||
ARequest.GetNextPathInfo;
|
||||
if Sender.SkipStreaming then
|
||||
M:=MC.CreateNew(Self)
|
||||
else
|
||||
M:=MC.Create(Self);
|
||||
M:=FindModule(MC);
|
||||
if (M=Nil) then
|
||||
if Sender.SkipStreaming then
|
||||
M:=MC.CreateNew(Self)
|
||||
else
|
||||
M:=MC.Create(Self);
|
||||
DoCallModule(M,MN,ARequest,AResponse);
|
||||
end;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user