Прохождение автризации

This commit is contained in:
CORP\phedor 2018-04-23 11:18:53 +03:00
parent aaa9c2e1bf
commit c2b9254fd0
9 changed files with 16 additions and 14 deletions

View file

@ -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 : []));
}
}