aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-06-21 17:46:28 -0700
committerzotlabs <mike@macgirvin.com>2017-06-21 17:46:28 -0700
commit5f1a1db30fa4eae7c36d73b19e2e725a371138fb (patch)
tree28d8dd2e890307d6ba0860cfb48cff165d049a52 /Zotlabs
parent99ff808b8a7d3e7d4a4e6f04f13dcb18652532a2 (diff)
downloadvolse-hubzilla-5f1a1db30fa4eae7c36d73b19e2e725a371138fb.tar.gz
volse-hubzilla-5f1a1db30fa4eae7c36d73b19e2e725a371138fb.tar.bz2
volse-hubzilla-5f1a1db30fa4eae7c36d73b19e2e725a371138fb.zip
oopsy
Diffstat (limited to 'Zotlabs')
-rw-r--r--Zotlabs/Lib/Enotify.php2
-rw-r--r--Zotlabs/Module/Share.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php
index 90662ce84..9f3347d19 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -170,7 +170,7 @@ class Enotify {
xchan_query($p);
- $moderated = (($p[0]['item_blocked'] = ITEM_MODERATED) ? true : false);
+ $moderated = (($p[0]['item_blocked'] == ITEM_MODERATED) ? true : false);
$item_post_type = item_post_type($p[0]);
// $private = $p[0]['item_private'];
diff --git a/Zotlabs/Module/Share.php b/Zotlabs/Module/Share.php
index fcc2486ba..5c4811c59 100644
--- a/Zotlabs/Module/Share.php
+++ b/Zotlabs/Module/Share.php
@@ -76,7 +76,7 @@ class Share extends \Zotlabs\Web\Controller {
$observer = \App::get_observer();
$parsed = $observer['xchan_url'];
if($parsed) {
- $post_url = $parsed['scheme'] . ':' . $parsed['host'] . (($parsed['port']) ? ':' . $parsed['port'] : '')
+ $post_url = $parsed['scheme'] . '://' . $parsed['host'] . (($parsed['port']) ? ':' . $parsed['port'] : '')
. '/rpost';
/**