Просмотр исходного кода

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

tags/v9.0beta1
Thomas Müller 8 лет назад
Родитель
Сommit
a067355a98
1 измененных файлов: 3 добавлений и 0 удалений
  1. 3
    0
      lib/private/hintexception.php

+ 3
- 0
lib/private/hintexception.php Просмотреть файл

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

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

Загрузка…
Отмена
Сохранить