summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-25 16:21:50 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-25 16:21:50 +0100
commit430ed508127d24aaab0da816db658a4b52e395c5 (patch)
treec7b0927c1451d9a5536a234e9756b7ec58bdc8b0
parent11ed4e455eb9b3ebf3c26aa2630653a7caf1e3d0 (diff)
downloadmerchant-430ed508127d24aaab0da816db658a4b52e395c5.tar.gz
merchant-430ed508127d24aaab0da816db658a4b52e395c5.tar.bz2
merchant-430ed508127d24aaab0da816db658a4b52e395c5.zip
syntax
-rw-r--r--src/frontend_lib/util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend_lib/util.php b/src/frontend_lib/util.php
index 3fa7daf9..17d9734a 100644
--- a/src/frontend_lib/util.php
+++ b/src/frontend_lib/util.php
@@ -6,7 +6,7 @@ function get(&$var, $default=null) {
function url_join($base, $path, $strip=false) {
$flags = strip ? (http\Url::JOIN_PATH|http\URL::SANITIZE_PATH) : 0;
- return (new http\URL($base, null, flags))
+ return (new http\URL($base, null, $flags))
->mod(array ("path" => $path), http\Url::JOIN_PATH|http\URL::SANITIZE_PATH)
->toString();
}