Treat nil attribute value as an empty string in the Attribute selector
This commit is contained in:
1 parent
5a3c1063e7
commit
f735fcdfd6
1 file changed
+1
-1
@@ -43,7 +43,7 @@
|
||||
if (self) {
|
||||
self.type = type;
|
||||
_name = [name copy];
|
||||
_value = [value copy];
|
||||
_value = value ? [value copy]: @"";
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user