mirror of
https://github.com/friendica/friendica
synced 2025-04-27 21:10:11 +00:00
Avoid non numeric parameter
This commit is contained in:
parent
43f0f6bbdc
commit
722083f9ed
2 changed files with 2 additions and 2 deletions
|
@ -1353,7 +1353,7 @@ class User
|
|||
*/
|
||||
public static function remove(int $uid)
|
||||
{
|
||||
if (!$uid) {
|
||||
if (empty($uid)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue