This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
nextcloud
mirror of
https://github.com/nextcloud/server.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
1008
Wiki
Activity
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
1594371c8c
commit
a067355a98
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
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;
}
}
Write
Preview
Loading…
Cancel
Save