Fixed bug with editing manual entries.
This commit is contained in:
@ -160,7 +160,7 @@
|
||||
@for (int i = 20; i < 80; i++)
|
||||
{
|
||||
string isMatching = "";
|
||||
string[] bottleChanges = Model.BottleChanges.Split(',');
|
||||
string[] bottleChanges = !string.IsNullOrEmpty(Model.BottleChanges) ? Model.BottleChanges.Split(',') : new string[0];
|
||||
|
||||
for (int j = 0; j < bottleChanges.Length; j++)
|
||||
{
|
||||
@ -191,7 +191,7 @@
|
||||
@for (int i = 20; i < 80; i++)
|
||||
{
|
||||
string isMatching = "";
|
||||
string[] dailyPartChanges = Model.DailyPartChanges.Split(',');
|
||||
string[] dailyPartChanges = !string.IsNullOrEmpty(Model.DailyPartChanges) ? Model.DailyPartChanges.Split(',') : new string[0];
|
||||
|
||||
for (int j = 0; j < dailyPartChanges.Length; j++)
|
||||
{
|
||||
@ -222,7 +222,7 @@
|
||||
@for (int i = 20; i < 80; i++)
|
||||
{
|
||||
string isMatching = "";
|
||||
string[] weeklyPartChanges = Model.WeeklyPartChanges.Split(',');
|
||||
string[] weeklyPartChanges = !string.IsNullOrEmpty(Model.WeeklyPartChanges) ? Model.WeeklyPartChanges.Split(',') : new string[0];
|
||||
|
||||
for (int j = 0; j < weeklyPartChanges.Length; j++)
|
||||
{
|
||||
|
Reference in New Issue
Block a user