As shown in the error the get variable is set in the URL. But everywhere that I check the variable it gives the same undefined index error. When I check isset($_GET['uploadtype'])
it returns 1. Also the code in between the below if statement runs. Why does this error keep popping up in my apache error log?
if($_GET['uploadtype'] == "document"){
PHP Notice: Undefined index: uploadtype in /var/live/artistreports/views/upload/index.php on line 46, referer: http://www.saint57records.com/artistreports/upload/index?uploadtype=document