From c9771d2fff0f9b9334b08abda32112eb21515a1c Mon Sep 17 00:00:00 2001 From: Anders Hammar Date: Wed, 3 Apr 2013 23:14:39 +0200 Subject: [PATCH] Add validation error message for the 'required_without' rule --- app/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lang/en/validation.php b/app/lang/en/validation.php index a6107907..8fcda745 100644 --- a/app/lang/en/validation.php +++ b/app/lang/en/validation.php @@ -53,6 +53,7 @@ "regex" => "The :attribute format is invalid.", "required" => "The :attribute field is required.", "required_with" => "The :attribute field is required when :values is present.", + "required_without" => "The :attribute field is required when :values is not present.", "same" => "The :attribute and :other must match.", "size" => array( "numeric" => "The :attribute must be :size.",