From c7d638f6f83d93f3048e887dad32970c797f8d5a Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 24 Jul 2024 18:43:01 +0300 Subject: [PATCH] use page title on create bookmark --- src/Entity/Browser/Container/Page/Navbar/Bookmark.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Entity/Browser/Container/Page/Navbar/Bookmark.php b/src/Entity/Browser/Container/Page/Navbar/Bookmark.php index 4bf3c56f..7b196096 100644 --- a/src/Entity/Browser/Container/Page/Navbar/Bookmark.php +++ b/src/Entity/Browser/Container/Page/Navbar/Bookmark.php @@ -24,7 +24,8 @@ class Bookmark extends Button { $this->setImage( $this->navbar->page->container->browser->database->toggleBookmark( - $this->navbar->request->getValue() + $this->navbar->request->getValue(), + $this->navbar->page->title->getValue() ) ? self::_IMAGE_STARRED_YES : self::_IMAGE_STARRED_NON ); }