diff options
| author | Zach DeCook <zachdecook@gmail.com> | 2018-11-04 19:10:24 -0500 |
|---|---|---|
| committer | Zach DeCook <zachdecook@gmail.com> | 2018-11-04 19:10:24 -0500 |
| commit | ef0c84d49802dc24915cbddad41b931920446ba3 (patch) | |
| tree | c3b7316404166616e583b5bded49f944ace13d1c | |
| parent | 452b129ff5c30bc3a58cf69e0435b00d5975ab58 (diff) | |
| download | prosongsa-ef0c84d49802dc24915cbddad41b931920446ba3.tar.gz | |
* Favs: Fix mistake for faving with space in name
| -rw-r--r-- | page.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/page.php b/page.php index d54acbb..a2176b3 100644 --- a/page.php +++ b/page.php @@ -82,7 +82,7 @@ function tocentry( $item ){ $class = 'incomplete'; } $output = "<li class='$class'><a href=?song=$item[number]>$item[number]. $item[title]</a>"; - if ( $item['author'] ){$output .= "($item[author])";} + if ( $item['author'] ){ $output .= "($item[author])";} if ( $item['verse'] ){ $output .= "($item[verse])"; } if ( $item['key'] ){ $output .= "($item[key])"; } @@ -204,7 +204,7 @@ function renderFavorite( $number ) { return "<form method='post'>" . "<input type='hidden' name='song' value='$number'>" - . "<input name='name' placeholder='your name' value=" . ($name ?? '') . ">" + . "<input name='name' placeholder='your name' value='" . ($name ?? '') . "'>" . "<input type='submit' value='Add to Favorites' class='btn btn-F'>" . "</form>"; } |
