Fix incorrect style when AddUrl is passed null
This commit is contained in:
parent
7d1cf22fb6
commit
0d316279ec
|
@ -432,6 +432,8 @@ namespace Ooui
|
||||||
}
|
}
|
||||||
static string AddUrl(object val)
|
static string AddUrl(object val)
|
||||||
{
|
{
|
||||||
|
if (val == null)
|
||||||
|
return null;
|
||||||
return String.Format("url('{0}')", val);
|
return String.Format("url('{0}')", val);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue