mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
autotrim given URL
This commit is contained in:
parent
88ab363b4a
commit
b092e6d9f1
1 changed files with 5 additions and 0 deletions
|
|
@ -317,6 +317,11 @@ class Page
|
||||||
int $code = 0
|
int $code = 0
|
||||||
): void
|
): void
|
||||||
{
|
{
|
||||||
|
// Filter URL
|
||||||
|
$url = trim(
|
||||||
|
$url
|
||||||
|
);
|
||||||
|
|
||||||
// Update address field by requested
|
// Update address field by requested
|
||||||
$this->address->set_text(
|
$this->address->set_text(
|
||||||
$url
|
$url
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue