mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 08:39:55 +03:00
Resolves heading issues in grid view
This commit is contained in:
@@ -34,8 +34,8 @@ class Book extends Entity
|
||||
|
||||
public function getHeadingExcerpt($length = 35)
|
||||
{
|
||||
$heading = $this->name;
|
||||
return strlen($heading) > $length ? substr($heading, 0, $length-3) . '...' : $heading;
|
||||
$bookHeading = $this->name;
|
||||
return strlen($bookHeading) > $length ? substr($bookHeading, 0, $length-3) . '...' : $bookHeading;
|
||||
}
|
||||
|
||||
public function cover()
|
||||
|
||||
Reference in New Issue
Block a user