diff --git a/protected/humhub/libs/DbDateValidator.php b/protected/humhub/libs/DbDateValidator.php index 41d8142ef0..29dacbee82 100644 --- a/protected/humhub/libs/DbDateValidator.php +++ b/protected/humhub/libs/DbDateValidator.php @@ -9,6 +9,7 @@ namespace humhub\libs; use Yii; +use yii\validators\DateValidator; /** * Validates (user date format or database format) and converts it to an database date(-time) field @@ -16,7 +17,7 @@ use Yii; * @see \yii\validators\DateValidator * @author luke */ -class DbDateValidator extends \yii\validators\DateValidator +class DbDateValidator extends DateValidator { /**