From 0e67b2b1a9238dba0559d953b760f4fae709b3de Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Fri, 6 Dec 2013 21:06:57 -0500 Subject: [PATCH] Fixed safe validator. --- framework/yii/validators/SafeValidator.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/framework/yii/validators/SafeValidator.php b/framework/yii/validators/SafeValidator.php index 6ef3e4d..25da899 100644 --- a/framework/yii/validators/SafeValidator.php +++ b/framework/yii/validators/SafeValidator.php @@ -15,4 +15,10 @@ namespace yii\validators; */ class SafeValidator extends Validator { + /** + * @inheritdoc + */ + public function validateAttribute($object, $attribute) + { + } }