mirror of
https://github.com/friendica/friendica
synced 2025-04-24 04:30:11 +00:00
Check for bad worker priorities
This commit is contained in:
parent
7e3196776b
commit
dd94fb1242
5 changed files with 15 additions and 6 deletions
|
@ -1568,7 +1568,7 @@ class Item
|
|||
$item['network'] = Protocol::DFRN;
|
||||
$item['protocol'] = Conversation::PARCEL_DIRECT;
|
||||
|
||||
if (is_int($notify)) {
|
||||
if (in_array($notify, PRIORITIES)) {
|
||||
$priority = $notify;
|
||||
}
|
||||
} else {
|
||||
|
@ -2912,7 +2912,7 @@ class Item
|
|||
$_SESSION["authenticated"] = true;
|
||||
$_SESSION["uid"] = $contact['uid'];
|
||||
|
||||
return $result;
|
||||
return (bool)$result;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue