Browse Source

Merge pull request #21942 from owncloud/use-message-if-hint-is-empty

In case the hint of the HintException is empty we better use the exce…
remotes/origin/comments-markallread-dav
Thomas Müller 11 years ago
parent
commit
308396b770
  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