Fixed no friends text and no groups text.

This commit is contained in:
K. Nobel
2017-01-20 14:10:32 +01:00
parent f9c55323ad
commit 0e5f7dc9fb

View File

@@ -17,7 +17,7 @@
}
if($friends->rowCount() === 0) {
if($profile_friends->rowCount() === 0) {
echo "<p>Deze gebruiker heeft nog geen vrienden gemaakt.</p>";
}
?>
@@ -32,7 +32,7 @@
echo "<a href='group/${group["name"]}/' data-title='${group["name"]}'><img class='group-picture' src='${group["picture"]}' alt='${group["name"]}s logo'></a>";
}
if($groups->rowCount() === 0) {
if($profile_groups->rowCount() === 0) {
echo "<p>Deze gebruiker is nog geen lid van een groep.</p>";
}
?>