Development

Changeset 10902

You must first sign up to be able to contribute.

Changeset 10902

Show
Ignore:
Timestamp:
08/14/08 21:23:45 (5 months ago)
Author:
fabien
Message:

[1.1] reverted some changes to sfValidatorSchemaCompare (to maintain BC in the symfony 1.1 branch)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/validator/sfValidatorSchemaCompare.class.php

    r10802 r10902  
    9797        break; 
    9898      case self::EQUAL: 
     99      default: 
    99100        $valid = $leftValue == $rightValue; 
    100         break; 
    101       default: 
    102         throw new InvalidArgumentException(sprintf('The operator "%s" does not exist.', $this->getOption('operator'))); 
    103101    } 
    104102