aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/items.php')
-rw-r--r--include/items.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php
index e37ed28d1..f11293e4a 100644
--- a/include/items.php
+++ b/include/items.php
@@ -308,10 +308,10 @@ function post_remote($a,$arr) {
if($arr['gravity'])
- $arr['gravity = intval($arr['gravity']);
+ $arr['gravity'] = intval($arr['gravity']);
elseif($arr['parent-uri'] == $arr['uri'])
$arr['gravity'] = 0;
- else($arr['verb'] == ACTIVITY_POST)
+ elseif($arr['verb'] == ACTIVITY_POST)
$arr['gravity'] = 6;
if(! x($arr,'type'))