Merge branch 'main' of github.com:sorenpeter/timeline

forgot to pull before push
This commit is contained in:
sørenpeter 2024-12-12 15:37:29 +01:00
commit 2c248c094c
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)