Skip to content

Commit

Permalink
[TASK] Change determination of error check name in getCheckFailed to …
Browse files Browse the repository at this point in the history
…support custom error checks
  • Loading branch information
reinhardfuehricht committed Mar 22, 2016
1 parent f7941fd commit 6120bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Validator/ErrorCheck/AbstractErrorCheck.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ abstract public function check();
protected function getCheckFailed()
{
$parts = explode('\\', get_class($this));
$checkFailed = strtolower(array_pop($parts));
$checkFailed = lcfirst(array_pop($parts));
if (is_array($this->settings['params'])) {
$checkFailed .= ';';
foreach ($this->settings['params'] as $key => $value) {
Expand Down

0 comments on commit 6120bfd

Please sign in to comment.