aboutsummaryrefslogtreecommitdiffstats
path: root/mod/editwebpage.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-12 00:48:09 -0800
committerfriendica <info@friendica.com>2014-11-12 00:48:09 -0800
commitada2e43ea27feab8be956c01bf3ef13c8ce49049 (patch)
treed1b5fde81b36a269f26b47108a63fc282c2cfc21 /mod/editwebpage.php
parent9be4fcce551f32b19af0ba8cbbc71c6e3ef66632 (diff)
downloadvolse-hubzilla-ada2e43ea27feab8be956c01bf3ef13c8ce49049.tar.gz
volse-hubzilla-ada2e43ea27feab8be956c01bf3ef13c8ce49049.tar.bz2
volse-hubzilla-ada2e43ea27feab8be956c01bf3ef13c8ce49049.zip
extend sys support to layouts
Diffstat (limited to 'mod/editwebpage.php')
-rw-r--r--mod/editwebpage.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index 7b5f9f602..8181415b8 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -214,9 +214,7 @@ function editwebpage_content(&$a) {
));
- $ob = (($observer) ? $observer['xchan_hash'] : '');
-
- if(($itm[0]['author_xchan'] === $ob) || ($itm[0]['owner_xchan'] === $ob))
+ if(($itm[0]['author_xchan'] === $ob_hash) || ($itm[0]['owner_xchan'] === $ob_hash))
$o .= '<br /><br /><a class="page-delete-link" href="item/drop/' . $itm[0]['id'] . '" >' . t('Delete Webpage') . '</a><br />';