webdav portal fix

This commit is contained in:
vfedosevich 2015-03-03 07:01:01 -08:00
parent 0ebe24141e
commit a4cb95e2db

View file

@ -10,7 +10,7 @@
@if (Model != null) @if (Model != null)
{ {
string header = WspContext.User.OrganizationId; string header = WspContext.User.OrganizationId;
string[] elements = Model.UrlSuffix.Split(new[] { "/" }, StringSplitOptions.RemoveEmptyEntries); string[] elements = string.IsNullOrEmpty(Model.UrlSuffix)? new string[0]: Model.UrlSuffix.Split(new[] { "/" }, StringSplitOptions.RemoveEmptyEntries);
<div class="breadcrumb-wsp"> <div class="breadcrumb-wsp">
@if (String.IsNullOrEmpty(Model.SearchValue)) @if (String.IsNullOrEmpty(Model.SearchValue))