diff options
Diffstat (limited to 'modules/Url.php')
-rw-r--r-- | modules/Url.php | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/modules/Url.php b/modules/Url.php index 0fe28761ac..8667c6283f 100644 --- a/modules/Url.php +++ b/modules/Url.php @@ -1,18 +1,18 @@ -<?php
-/**
- * Piwik - Open source web analytics
- *
- * @link http://piwik.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later
- * @version $Id$
- *
- * @package Piwik_Helper
- */
-
-/**
- * @package Piwik_Helper
- *
- */
+<?php +/** + * Piwik - Open source web analytics + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html Gpl v3 or later + * @version $Id$ + * + * @package Piwik_Helper + */ + +/** + * @package Piwik_Helper + * + */ class Piwik_Url { static function getArrayFromCurrentQueryString() @@ -21,7 +21,7 @@ class Piwik_Url $queryString = htmlspecialchars($queryString); $urlValues = Piwik_Common::getArrayFromQueryString($queryString); return $urlValues; - }
+ } static function getCurrentQueryStringWithParametersModified( $params ) { @@ -32,15 +32,15 @@ class Piwik_Url $urlValues[$key] = $value; } - $query = http_build_query($urlValues);
-
- if(strlen($query) > 0)
- {
- return '?'.$query;
- }
- else
- {
- return '';
+ $query = http_build_query($urlValues); + + if(strlen($query) > 0) + { + return '?'.$query; + } + else + { + return ''; } } |