idk why i thought this breaks, it doesnt
This commit is contained in:
parent
d7f64152f6
commit
e53df98880
1 changed files with 0 additions and 4 deletions
|
@ -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 = ?");
|
||||||
|
|
Loading…
Reference in a new issue