mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-08 00:14:31 +08:00
Fixing NRE on upgrade
This commit is contained in:
@@ -91,7 +91,7 @@ namespace Orchard.Autoroute.Services {
|
||||
return false;
|
||||
}
|
||||
|
||||
return a.Keys.All(x => String.Equals(a[x], b[x].ToString(), StringComparison.OrdinalIgnoreCase));
|
||||
return a.Keys.All(x => String.Equals(a[x], Convert.ToString(b[x]), StringComparison.OrdinalIgnoreCase));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user