]> git.mxchange.org Git - friendica.git/commitdiff
Handles warning: Undefined array key "gravity"
authorMichael <heluecht@pirati.ca>
Wed, 22 Mar 2023 05:15:29 +0000 (05:15 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 22 Mar 2023 05:15:29 +0000 (05:15 +0000)
src/Module/Post/Edit.php

index 5fb339e17971b83b1b0111a8e18db1dbc108aeb1..0d6badf4da4b4614ca330db3538821033750ecc4 100644 (file)
@@ -83,7 +83,7 @@ class Edit extends BaseModule
                }
 
                $fields = [
-                       'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
+                       'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'gravity',
                        'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'
                ];