aboutsummaryrefslogtreecommitdiffstats
path: root/include/ItemObject.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2012-10-29 20:47:56 -0700
committerfriendica <info@friendica.com>2012-10-29 20:47:56 -0700
commitf608373d084eea8d34adc48ef50c7392903b51be (patch)
tree9fea00c3b0e8cc621a751be0954bda506fc3f988 /include/ItemObject.php
parent1a6415807ebf9ae859134c99eb64a90d7363747a (diff)
downloadvolse-hubzilla-f608373d084eea8d34adc48ef50c7392903b51be.tar.gz
volse-hubzilla-f608373d084eea8d34adc48ef50c7392903b51be.tar.bz2
volse-hubzilla-f608373d084eea8d34adc48ef50c7392903b51be.zip
fixing broken things again after the latest round of ripping out the yellow slime and replacing it with red slime.
Diffstat (limited to 'include/ItemObject.php')
-rw-r--r--include/ItemObject.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ItemObject.php b/include/ItemObject.php
index 84f45054f..8a7bdea3a 100644
--- a/include/ItemObject.php
+++ b/include/ItemObject.php
@@ -454,7 +454,7 @@ class Item extends BaseObject {
if($conv) {
// This will allow us to comment on wall-to-wall items owned by our friends
// and community forums even if somebody else wrote the post.
- return ($this->writable || ($this->is_visiting() && $conv->get_mode() == 'profile'));
+ return ($this->writable || ($this->is_visiting() && $conv->get_mode() == 'channel'));
}
return $this->writable;
}
@@ -515,7 +515,7 @@ class Item extends BaseObject {
'$return_path' => '',
'$threaded' => $this->is_threaded(),
'$jsreload' => (($conv->get_mode() === 'display') ? $_SESSION['return_url'] : ''),
- '$type' => (($conv->get_mode() === 'profile') ? 'wall-comment' : 'net-comment'),
+ '$type' => (($conv->get_mode() === 'channel') ? 'wall-comment' : 'net-comment'),
'$id' => $this->get_id(),
'$parent' => $this->get_id(),
'$qcomment' => $qcomment,
@@ -556,7 +556,7 @@ class Item extends BaseObject {
$this->wall_to_wall = false;
if($this->is_toplevel()) {
- if( (! $this->get_data_value('self')) && ($conv->get_mode() !== 'profile')) {
+ if( (! $this->get_data_value('self')) && ($conv->get_mode() !== 'channel')) {
if($this->get_data_value('wall')) {
// On the network page, I am the owner. On the display page it will be the profile owner.