Treat nil attribute value as an empty string in the Attribute selector
This commit is contained in:
@@ -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