diff --git a/app/Models/Album.php b/app/Models/Album.php index ba9241be..b77ed7b9 100644 --- a/app/Models/Album.php +++ b/app/Models/Album.php @@ -122,7 +122,7 @@ class Album extends Model implements Searchable, Commentable, Favouritable ]); } - return !$query; + return $query; } protected $table = 'albums'; diff --git a/app/Models/Playlist.php b/app/Models/Playlist.php index 0d9fed45..cd1986fe 100644 --- a/app/Models/Playlist.php +++ b/app/Models/Playlist.php @@ -138,7 +138,7 @@ class Playlist extends Model implements Searchable, Commentable, Favouritable ]); } - return !$query; + return $query; } public static function mapPublicPlaylistShow(Playlist $playlist) diff --git a/app/Models/User.php b/app/Models/User.php index 25d90d06..2f7f93bb 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -133,7 +133,7 @@ class User extends Model implements AuthenticatableContract, CanResetPasswordCon ]); } - return !$query; + return $query; } /**