Fixed bad ternary statement. Added missing semicolon

This commit is contained in:
Alex Bilbie 2013-02-04 18:58:17 +00:00
parent 04b8394009
commit 9a265f7956

View File

@ -6,7 +6,7 @@ class RedirectUri
{ {
public static function make($uri, $params = array(), $queryDelimeter = '?') public static function make($uri, $params = array(), $queryDelimeter = '?')
{ {
$uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter ? '&'; $uri .= (strstr($uri, $queryDelimeter) === false) ? $queryDelimeter : '&';
return $uri.http_build_query($params) return $uri.http_build_query($params);
} }
} }