diff --git a/source/routine_editor.pas b/source/routine_editor.pas index 812788b7..bef71336 100644 --- a/source/routine_editor.pas +++ b/source/routine_editor.pas @@ -555,7 +555,7 @@ begin tmp := ''; if ProcOrFunc = 'PROCEDURE' then tmp := tmp + Parameters[i].Context + ' '; - tmp := tmp + DBObject.Connection.QuoteIdent(Parameters[i].Name) + ' ' + Parameters[i].Datatype; + tmp := tmp + DBObject.Connection.QuoteIdent(Parameters[i].Name.Trim) + ' ' + Parameters[i].Datatype; Params.Add(tmp); end; if Params.Count > 0 then