Commit 4aa834bf authored by Dominik Hebeler's avatar Dominik Hebeler

Added Ellipsis to cut strings in description of results

parent c40c35e8
......@@ -42,7 +42,7 @@ class Result
if (strlen($this->descr) > 150) {
$this->descr = wordwrap($this->descr, 150);
$this->descr = substr($this->descr, 0, strpos($this->descr, "\n"));
$this->descr .= "…"; // Ellipsis character
}
$this->gefVon = trim($gefVon);
$this->gefVonLink = trim($gefVonLink);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment