Прохождение автризации
This commit is contained in:
parent
aaa9c2e1bf
commit
c2b9254fd0
9 changed files with 16 additions and 14 deletions
|
|
@ -22,6 +22,6 @@ class Url {
|
|||
}
|
||||
|
||||
function toString() {
|
||||
return '?' . http_build_query(array_merge($this->parts, $this->parent->parts));
|
||||
return '?' . http_build_query(array_merge($this->parts, $this->parent ? $this->parent->parts : []));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue