diff --git a/wire/core/WireInput.php b/wire/core/WireInput.php index e047df04..3b5c11a3 100644 --- a/wire/core/WireInput.php +++ b/wire/core/WireInput.php @@ -713,6 +713,7 @@ class WireInput extends Wire { * */ public function setUrlSegments(array $urlSegments) { + $this->urlSegments = array(); $n = 1; foreach($urlSegments as $urlSegment) { $this->setUrlSegment($n, $urlSegment);