mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
use page title on create bookmark
This commit is contained in:
parent
d76686760b
commit
c7d638f6f8
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ class Bookmark extends Button
|
||||||
{
|
{
|
||||||
$this->setImage(
|
$this->setImage(
|
||||||
$this->navbar->page->container->browser->database->toggleBookmark(
|
$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
|
) ? self::_IMAGE_STARRED_YES : self::_IMAGE_STARRED_NON
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue