This commit is contained in:
grandeljay 2022-11-25 15:21:13 +01:00
parent 2eab3691c9
commit 59d529a9d3
2 changed files with 14 additions and 10 deletions

View file

@ -116,9 +116,11 @@ class User
global $database;
$wishlists = $database
->query('SELECT *
->query(
'SELECT *
FROM `wishlists`
WHERE `user` = ' . $this->id . ';')
WHERE `user` = ' . $this->id . ';'
)
->fetchAll();
return $wishlists;
@ -135,12 +137,14 @@ class User
}
$result = $database
->query('SELECT `ws`.`wishlist`,
->query(
'SELECT `ws`.`wishlist`,
`w`.`user`,
`w`.`hash`
FROM `wishlists_saved` `ws`
JOIN `wishlists` `w` ON `w`.`id` = `ws`.`wishlist`
WHERE `ws`.`user` = ' . $this->id . ';')
WHERE `ws`.`user` = ' . $this->id . ';'
)
->fetchAll();
if ($result) {

View file

@ -103,7 +103,7 @@ $page->navigation();
<li>
<?php
/** TRANSLATORS: Changelog: Added */
echo __('A roadmap in the changelog.');
echo __('A roadmap in the changelog');
?>
</li>
<li>