idk why i thought this breaks, it doesnt

This commit is contained in:
biglyderv 2024-12-08 15:24:05 -05:00
parent d7f64152f6
commit e53df98880

View file

@ -38,10 +38,6 @@
$result = $stmt->fetch(PDO::FETCH_ASSOC); $result = $stmt->fetch(PDO::FETCH_ASSOC);
if (!$result && $user != $username) {
die();
}
$bio = isset($result) ? $result['bio'] : 'This user has not set a bio.'; $bio = isset($result) ? $result['bio'] : 'This user has not set a bio.';
$stmt = $db->prepare("SELECT * FROM main.follow WHERE target = ?"); $stmt = $db->prepare("SELECT * FROM main.follow WHERE target = ?");