mirror of
https://github.com/friendica/friendica
synced 2025-04-22 23:50:13 +00:00
Merge pull request #12747 from MrPetovan/bug/warnings
Address a couple of warnings
This commit is contained in:
commit
df021b07e3
2 changed files with 2 additions and 3 deletions
|
@ -351,7 +351,7 @@ class Photo extends BaseModule
|
|||
}
|
||||
|
||||
// If it is a local link, we save resources by just redirecting to it.
|
||||
if (Network::isLocalLink($url)) {
|
||||
if (!empty($url) && Network::isLocalLink($url)) {
|
||||
System::externalRedirect($url);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue