Browse Source

In case the hint of the HintException is empty we better use the exception message

tags/v9.0beta1
Thomas Müller 8 years ago
parent
commit
a067355a98
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      lib/private/hintexception.php

+ 3
- 0
lib/private/hintexception.php View File

@@ -38,6 +38,9 @@ class HintException extends \Exception {
}

public function getHint() {
if (empty($this->hint)) {
return $this->message;
}
return $this->hint;
}
}

Loading…
Cancel
Save