]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Post/QuestionOption.php
Merge remote-tracking branch 'upstream/2023.09-rc' into user-defined-channels
[friendica.git] / src / Model / Post / QuestionOption.php
index 03ac0633c7d3bbf22bfcfca723617e5e474a9df4..c4d354e137becbd9f6a00d3ae91192ea9ef7ebd6 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -44,7 +44,7 @@ class QuestionOption
                        throw new BadMethodCallException('Empty URI_id');
                }
 
-               $fields = DI::dbaDefinition()->getFieldsForTable('post-question-option', $data);
+               $fields = DI::dbaDefinition()->truncateFieldsForTable('post-question-option', $data);
 
                // Remove the key fields
                unset($fields['uri-id']);