瀏覽代碼

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…
取消
儲存