diff options
Diffstat (limited to 'h-source/Library/Url.php')
-rwxr-xr-x | h-source/Library/Url.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/h-source/Library/Url.php b/h-source/Library/Url.php index 9f73291..da312b1 100755 --- a/h-source/Library/Url.php +++ b/h-source/Library/Url.php @@ -31,7 +31,7 @@ class Url { } //create an url string (element1/element2/element4) from the values of the array $valuesArray considering only the elements indicated in the numeric string $numericString (in this case '1,2,4') - public function createUrl($valuesArray,$numericString = null) { + public static function createUrl($valuesArray,$numericString = null) { $elementsArray = explode(',',$numericString); $valuesArray = array_values($valuesArray); $urlString = null; |