[gh-1] Assumption made that $_GET values are not arrays
In the UNL-CMS project in working with the Media module I get the following:
Notice: Array to string conversion in Unl_Cas->setServiceUrl() (line 105 of /Library/WebServer/Documents/workspace/UNL-CMS/vendor/NmcFramework/library/Unl/Cas.php).
foreach ($_GET as $key => $value) {
if ($key != "ticket") {
$params[] = $key . ($value != "" ? "=" . $value : "");
}
}
$_GET includes the following Media options that throw the notice:
$_GET['id'] = 'media_wysiwyg'
$_GET['render'] = media-popup
$_GET['q'] = 'media/browser'
$_GET['types'] = array('audio', 'video', 'image') //problem