Parcourir la source

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

tags/v9.0beta1
Thomas Müller il y a 8 ans
Parent
révision
a067355a98
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3
    0
      lib/private/hintexception.php

+ 3
- 0
lib/private/hintexception.php Voir le fichier

@@ -38,6 +38,9 @@ class HintException extends \Exception {
}

public function getHint() {
if (empty($this->hint)) {
return $this->message;
}
return $this->hint;
}
}

Chargement…
Annuler
Enregistrer