Merge pull request #6758 from MrPetovan/bug/notices
Fix various notice messages
This commit is contained in:
commit
c3b7ce349d
|
@ -67,6 +67,7 @@ class BBCode extends BaseObject
|
|||
$post["after"] = trim(substr($body, $pos + strlen($data[0])));
|
||||
} else {
|
||||
$post["text"] = trim(str_replace($data[0], "", $body));
|
||||
$post["after"] = '';
|
||||
}
|
||||
|
||||
$attacheddata = $data[2];
|
||||
|
|
|
@ -850,7 +850,7 @@ class Worker
|
|||
}
|
||||
|
||||
if (!empty($waiting)) {
|
||||
$priority = array_shift(array_keys($waiting));
|
||||
$priority = array_keys($waiting)[0];
|
||||
Logger::info('No underassigned priority found, now taking the highest priority.', ['priority' => $priority]);
|
||||
return $priority;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue