mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 03:34:27 +02:00
Ensure $categories is set in mod/item
- Address https://github.com/friendica/friendica/issues/8473#issuecomment-639052328
This commit is contained in:
parent
37d61fbc44
commit
d6fd5b273b
1 changed files with 1 additions and 1 deletions
|
@ -245,7 +245,7 @@ function item_post(App $a) {
|
||||||
$verb = $orig_post['verb'];
|
$verb = $orig_post['verb'];
|
||||||
$objecttype = $orig_post['object-type'];
|
$objecttype = $orig_post['object-type'];
|
||||||
$app = $orig_post['app'];
|
$app = $orig_post['app'];
|
||||||
$categories = $orig_post['file'];
|
$categories = $orig_post['file'] ?? '';
|
||||||
$title = Strings::escapeTags(trim($_REQUEST['title']));
|
$title = Strings::escapeTags(trim($_REQUEST['title']));
|
||||||
$body = trim($body);
|
$body = trim($body);
|
||||||
$private = $orig_post['private'];
|
$private = $orig_post['private'];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue