aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-09-10 00:42:53 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-09-10 00:42:53 -0700
commitca8566008d2f5633bbc957dbba482965f0661db3 (patch)
tree8ae3006593361bd867a9e90abdbd913edb06a906 /include/items.php
parentf7cff0eb5a34af12761ae5611083159b6cd50ee0 (diff)
downloadvolse-hubzilla-ca8566008d2f5633bbc957dbba482965f0661db3.tar.gz
volse-hubzilla-ca8566008d2f5633bbc957dbba482965f0661db3.tar.bz2
volse-hubzilla-ca8566008d2f5633bbc957dbba482965f0661db3.zip
upgrading the photo and name update
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'))