Bugfix: exception while removing records.
This commit is contained in:
parent
1c116fb6f0
commit
ca41b9907b
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue