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
|
@ -98,7 +98,7 @@ class Photo extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
// Please refactor this for the love of everything that's good
|
// Please refactor this for the love of everything that's good
|
||||||
if (!empty($parameters['id'])) {
|
if (isset($parameters['id'])) {
|
||||||
$uid = $parameters['id'];
|
$uid = $parameters['id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user