Backend for songs.zachdecook.com
Diffstat (limited to 'index.php')
| -rwxr-xr-x | index.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4,7 +4,7 @@ if ( isset( $_GET['theme'] ) ){ $theme = $_GET['theme']; setcookie( 'theme', $theme, time()+60*60*24*30 ); } -if ($_POST['song'] && $_POST['name']) +if (isset($_POST['song']) && isset($_POST['name'])) { $song = str_replace( "'", "", $_POST['song'] ); $name = str_replace( "'", "", $_POST['name'] ); |