Skip to content

Commit

Permalink
FIX #180
Browse files Browse the repository at this point in the history
  • Loading branch information
filisko committed Apr 28, 2017
1 parent 92c6787 commit 616ba9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gump.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,7 @@ public static function set_error_messages(array $array)
protected function get_messages()
{
$lang_file = __DIR__.DIRECTORY_SEPARATOR.'lang'.DIRECTORY_SEPARATOR.$this->lang.'.php';
$messages = require_once $lang_file;
$messages = require $lang_file;

if ($validation_methods_errors = self::$validation_methods_errors) {
$messages = array_merge($messages, $validation_methods_errors);
Expand Down

0 comments on commit 616ba9c

Please sign in to comment.