mirror of
https://github.com/sorenpeter/timeline.git
synced 2025-12-15 19:07:01 +00:00
fix for the "Undefined array key password" on timeline/following URI
This commit is contained in:
parent
555baefcd0
commit
3b424a4bdd
1 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
@ -60,4 +60,4 @@ include 'partials/header.php';
|
|||
|
||||
</center>
|
||||
|
||||
<!-- FOOTER --><?php include 'partials/footer.php';?>
|
||||
<!-- FOOTER --><?php include 'partials/footer.php';?>
|
||||
|
|
|
|||
Loading…
Reference in a new issue