mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-02 03:08:22 +00:00
Fix check for allowsReverseTransformation in reverseTransformedValue
This commit is contained in:
1 parent
71de04787d
commit
3e79d8324d
1 file changed
+1
-1
@@ -76,7 +76,7 @@ var transformerMap = [CPDictionary dictionary];
|
||||
|
||||
- (id)reverseTransformedValue:(id)aValue
|
||||
{
|
||||
if ([[self class] allowsReverseTransformation])
|
||||
if (![[self class] allowsReverseTransformation])
|
||||
{
|
||||
[CPException raise:CPInvalidArgumentException reason:(self + " is not reversible.")];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user