Treat nil attribute value as an empty string in the Attribute selector

This commit is contained in:
iska
2015-11-27 00:47:45 +01:00
parent 5a3c1063e7
commit f735fcdfd6
+1 -1
View File
@@ -43,7 +43,7 @@
if (self) {
self.type = type;
_name = [name copy];
_value = [value copy];
_value = value ? [value copy]: @"";
}
return self;
}