uQuery: Standardising method signatures, from List<T> to IEnumerable<T>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Xml.XPath;
|
||||
@@ -119,7 +120,7 @@ namespace umbraco.editorControls.XPathDropDownList
|
||||
|
||||
try
|
||||
{
|
||||
if (uQuery.GetNodesByXPath(xPath).Count >= 0)
|
||||
if (uQuery.GetNodesByXPath(xPath).Count() >= 0)
|
||||
{
|
||||
isValid = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user