Relax check on id parameter in /photo
- Address https://github.com/friendica/friendica/issues/10756#issuecomment-933020126 - Address https://github.com/friendica/friendica/issues/10755#issuecomment-933020316
This commit is contained in:
parent
42e77e23ac
commit
297ff76590
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Photo extends BaseModule
|
|||
}
|
||||
|
||||
// Please refactor this for the love of everything that's good
|
||||
if (!empty($parameters['id'])) {
|
||||
if (isset($parameters['id'])) {
|
||||
$uid = $parameters['id'];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue