Removed and replaced deprecated functionalities
This commit is contained in:
parent
cfac13790b
commit
eb1b2256a0
12 changed files with 29 additions and 230 deletions
|
@ -352,7 +352,8 @@ function item_post(App $a) {
|
|||
$filedas = FileTag::fileToArray($categories);
|
||||
}
|
||||
|
||||
$categories = FileTag::listToFile(trim($_REQUEST['category'] ?? ''), 'category');
|
||||
$list_array = explode(',', trim($_REQUEST['category'] ?? ''));
|
||||
$categories = FileTag::arrayToFile($list_array, 'category');
|
||||
|
||||
if (!empty($filedas) && is_array($filedas)) {
|
||||
// append the fileas stuff to the new categories list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue