From a067355a9886203f264ce94b0ecccd2fd4ba7351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 27 Jan 2016 10:08:21 +0100 Subject: [PATCH] In case the hint of the HintException is empty we better use the exception message --- lib/private/hintexception.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/private/hintexception.php b/lib/private/hintexception.php index f673ac82ac..7c4754a92e 100644 --- a/lib/private/hintexception.php +++ b/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; } }