Backend for songs.zachdecook.com
Diffstat (limited to 'index.php')
| -rwxr-xr-x | index.php | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -85,7 +85,9 @@ include 'page.php'; $song_number = isset( $_GET['song'] ) ? $_GET['song'] : ''; if( ! $song_number ) { - echo toc(); + $sort = ''; + if ( isset( $_GET['sort'] ) ) $sort = $_GET['sort']; + echo toc($sort); } else { |