Преглед изворни кода

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

tags/v9.0beta1
Thomas Müller пре 8 година
родитељ
комит
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;
}
}

Loading…
Откажи
Сачувај