mirror of
https://github.com/owncloud/bookmarks.git
synced 2025-02-20 17:54:25 +01:00
Bookmark: correct description in import of html files
This commit is contained in:
parent
4156a5caae
commit
6cebd89681
@ -408,7 +408,11 @@ class OC_Bookmarks_Bookmarks{
|
||||
$tag_str = $link->getAttribute("tags");
|
||||
$tags = explode(',', $tag_str);
|
||||
|
||||
self::addBookmark($ref, $title, $tags);
|
||||
$desc_str = '';
|
||||
if($link->hasAttribute("description"))
|
||||
$desc_str = $link->getAttribute("description");
|
||||
|
||||
self::addBookmark($ref, $title, $tags,$desc_str );
|
||||
}
|
||||
OCP\DB::commit();
|
||||
return array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user