Browse Source

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

remotes/origin/comments-markallread-dav
Thomas Müller 11 years ago
parent
commit
a067355a98
  1. 3
      lib/private/hintexception.php

3
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…
Cancel
Save