Bugfix: exception while removing records.

This commit is contained in:
Konstantin 2013-12-04 03:44:39 +01:00
parent 1c116fb6f0
commit ca41b9907b

View file

@ -55,7 +55,8 @@ namespace WebsitePanel.Providers.DNS
/// <returns>Same command</returns> /// <returns>Same command</returns>
private static Command addParam( this Command cmd, string name ) private static Command addParam( this Command cmd, string name )
{ {
cmd.Parameters.Add( name ); // http://stackoverflow.com/a/10304080/126995
cmd.Parameters.Add( name, true );
return cmd; return cmd;
} }