fix for the "Undefined array key password" on timeline/following URI

This commit is contained in:
Adnan ELARAJI 2024-12-08 20:54:35 +01:00
parent 555baefcd0
commit 3b424a4bdd
No known key found for this signature in database

View file

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