diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 63192f7..46be098 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1124 \ No newline at end of file +1128 \ No newline at end of file diff --git a/Common/actions/IncrementFieldValue.cs b/Common/actions/IncrementFieldValue.cs index f7d8be2..81c7b9b 100644 --- a/Common/actions/IncrementFieldValue.cs +++ b/Common/actions/IncrementFieldValue.cs @@ -7,7 +7,10 @@ namespace FLocal.Common.actions { class IncrementFieldValue : AbstractFieldValue { public static Func INCREMENTOR_CUSTOM(int i) { - return s => (int.Parse(s)+i).ToString(); + return s => { + int old = String.IsNullOrEmpty(s) ? 0 : int.Parse(s); + return (old+i).ToString(); + }; } public static Func DECREMENTOR_CUSTOM(int i) {