Merge pull request #21 from aelaraji/fixes

Fixes
This commit is contained in:
sørenpeter 2024-12-09 08:29:19 +01:00 committed by GitHub
commit 76fa9e93ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 5 deletions

View file

@ -18,7 +18,7 @@ include 'partials/header.php';
<!-- <th></th> -->
<th>Nick</th>
<th>URL</th>
<?php if($_SESSION['password']=="$password") { ?>
<?php if(isset($_SESSION['password']) && $_SESSION['password']=="$password") { ?>
<th>Time ago</th>
<?php } ?>
</tr>
@ -33,7 +33,7 @@ include 'partials/header.php';
<!-- <a href="?remove_url=<?= $currentFollower[1] ?>">Remove</a> -->
<!-- <?php // } ?> -->
</td>
<?php if($_SESSION['password']=="$password") { ?>
<?php if(isset($_SESSION['password']) && $_SESSION['password']=="$password") { ?>
<td>
<?php
// Test first if URL is a valid feed:

View file

@ -1,4 +1,3 @@
<?php
if (!empty($_GET['url'])) { // Show twts for some user (Profile view)