Removed notice-level error

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50844 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-03-11 01:01:54 +00:00
parent 44bec8c587
commit 9392c0fdb2

View File

@ -222,7 +222,7 @@ class Director {
* Returns the urlParam with the given name
*/
static function urlParam($name) {
return Director::$urlParams[$name];
if(isset(Director::$urlParams[$name])) return Director::$urlParams[$name];
}
/**