summaryrefslogtreecommitdiff
path: root/Aktywator
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-09-20 18:59:47 +0200
committeremkael <emkael@tlen.pl>2017-09-20 18:59:47 +0200
commitade27538ebac7043e680517c7b9f7ba223e12d64 (patch)
tree9d091d1c8fbababcb134773b6f85f0f4361ccf1a /Aktywator
parent4de0ed6cf29dcbe0d0be002feeeed35941b9785d (diff)
BUGFIX: default value was always restored for some options
Diffstat (limited to 'Aktywator')
-rw-r--r--Aktywator/Setting.cs14
1 files changed, 4 insertions, 10 deletions
diff --git a/Aktywator/Setting.cs b/Aktywator/Setting.cs
index a5540d6..613065f 100644
--- a/Aktywator/Setting.cs
+++ b/Aktywator/Setting.cs
@@ -161,19 +161,13 @@ namespace Aktywator
try
{
sql.query(this.getAddColumnSql());
- }
- catch (OleDbException)
- {
- }
- if (setDefault)
- {
- try
+ if (setDefault)
{
sql.query(this.getSetDefaultSql());
}
- catch (OleDbException)
- {
- }
+ }
+ catch (OleDbException)
+ {
}
}
}