Corrected fatal undefined index error in Curl::currentUrl().