Skip to content

Commit 9091b7e

Browse files
Fix DataHandler tt_content.categories format (#6394)
1 parent 089cdf2 commit 9091b7e

File tree

1 file changed

+1
-5
lines changed
  • Documentation/ApiOverview/DataHandler/Database

1 file changed

+1
-5
lines changed

Documentation/ApiOverview/DataHandler/Database/Index.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -523,11 +523,7 @@ one new system category:
523523
$data['tt_content']['NEWbe68s587'] = [
524524
'header' => 'Look ma, categories!',
525525
'pid' => 45,
526-
'categories' => [
527-
1,
528-
2,
529-
'NEW9823be87', // You can also use placeholders here
530-
],
526+
'categories' => '1,2,NEW9823be87', // category uids are listed in a comma-separated string. You can also use placeholders here.
531527
];
532528
533529
.. note::

0 commit comments

Comments
 (0)