]> git.mxchange.org Git - friendica.git/commitdiff
Much more standards
authorMichael <heluecht@pirati.ca>
Thu, 1 Dec 2016 22:52:35 +0000 (22:52 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 1 Dec 2016 22:52:35 +0000 (22:52 +0000)
include/items.php

index 6d45550a4f98f0ab576b62569b4e46d263180d5f..0445c4490cb97f1f6ff446837f25dd4724c05107 100644 (file)
@@ -851,8 +851,9 @@ function item_store($arr,$force_parent = false, $notify = false, $dontcache = fa
                // Store the data into a spool file so that we can try again later.
 
                // At first we restore the Diaspora signature that we removed above.
-               if (isset($encoded_signature))
+               if (isset($encoded_signature)) {
                        $arr['dsprsig'] = $encoded_signature;
+               }
 
                // Now we store the data in the spool directory
                $file = 'item-'.round(microtime(true) * 10000).".msg";