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
|
||||
): void
|
||||
{
|
||||
// Filter URL
|
||||
$url = trim(
|
||||
$url
|
||||
);
|
||||
|
||||
// Update address field by requested
|
||||
$this->address->set_text(
|
||||
$url
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue