mirror of
https://github.com/friendica/friendica
synced 2025-04-24 13:10:11 +00:00
Ensure $uid parameter of Feature::isEnabled to be an integer
This commit is contained in:
parent
e9511b4f34
commit
19247b62ae
5 changed files with 16 additions and 12 deletions
|
@ -717,7 +717,7 @@ class Profile
|
|||
|
||||
public static function getAdvanced(App $a)
|
||||
{
|
||||
$uid = $a->profile['uid'];
|
||||
$uid = intval($a->profile['uid']);
|
||||
|
||||
if ($a->profile['name']) {
|
||||
$tpl = Renderer::getMarkupTemplate('profile_advanced.tpl');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue