|
@@ 62-65 (lines=4) @@
|
| 59 |
|
|
| 60 |
|
$attributesToSelect = array('url', 'title'); |
| 61 |
|
|
| 62 |
|
if ($select != null) { |
| 63 |
|
$attributesToSelect = array_merge($attributesToSelect, $select); |
| 64 |
|
$attributesToSelect = array_unique($attributesToSelect); |
| 65 |
|
} |
| 66 |
|
|
| 67 |
|
$output = Bookmarks::findBookmarks($user, $this->db, 0, $sortby, $tags, true, -1, $public, $attributesToSelect, $conjunction); |
| 68 |
|
|
|
@@ 95-98 (lines=4) @@
|
| 92 |
|
|
| 93 |
|
$attributesToSelect = array('url', 'title'); |
| 94 |
|
|
| 95 |
|
if ($select != null) { |
| 96 |
|
$attributesToSelect = array_merge($attributesToSelect, $select); |
| 97 |
|
$attributesToSelect = array_unique($attributesToSelect); |
| 98 |
|
} |
| 99 |
|
|
| 100 |
|
$output = Bookmarks::findBookmarks($user, $this->db, 0, $sortby, $tags, true, -1, false, $attributesToSelect, $conjunction); |
| 101 |
|
|