diff options
author | Mario <mario@mariovavti.com> | 2023-09-21 08:34:02 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-09-21 08:34:02 +0000 |
commit | a5e32dc3de997c3a3d9046161ce1ec149abb65c1 (patch) | |
tree | 3c7312f8bc2bcc6083d9b96408c5816ff79acb71 /Zotlabs/Module/Editwebpage.php | |
parent | 150174c3bb5578e0dfc20ac97a061d170fc90f5a (diff) | |
download | volse-hubzilla-a5e32dc3de997c3a3d9046161ce1ec149abb65c1.tar.gz volse-hubzilla-a5e32dc3de997c3a3d9046161ce1ec149abb65c1.tar.bz2 volse-hubzilla-a5e32dc3de997c3a3d9046161ce1ec149abb65c1.zip |
more deprecate $a
Diffstat (limited to 'Zotlabs/Module/Editwebpage.php')
-rw-r--r-- | Zotlabs/Module/Editwebpage.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Zotlabs/Module/Editwebpage.php b/Zotlabs/Module/Editwebpage.php index 785eeb4ec..ab4858d63 100644 --- a/Zotlabs/Module/Editwebpage.php +++ b/Zotlabs/Module/Editwebpage.php @@ -75,7 +75,7 @@ class Editwebpage extends \Zotlabs\Web\Controller { // Figure out which post we're editing $post_id = ((argc() > 2) ? intval(argv(2)) : 0); - + if(! $post_id) { notice( t('Item not found') . EOL); return; @@ -90,7 +90,7 @@ class Editwebpage extends \Zotlabs\Web\Controller { return; } - // We've already figured out which item we want and whose copy we need, + // We've already figured out which item we want and whose copy we need, // so we don't need anything fancy here $sql_extra = item_permissions_sql($owner); @@ -122,13 +122,13 @@ class Editwebpage extends \Zotlabs\Web\Controller { return; } } - + $layout = $itm[0]['layout_mid']; $content = $itm[0]['body']; if($itm[0]['mimetype'] === 'text/markdown') $content = \Zotlabs\Lib\MarkdownSoap::unescape($itm[0]['body']); - + $rp = 'webpages/' . $which; $x = array( @@ -160,7 +160,7 @@ class Editwebpage extends \Zotlabs\Web\Controller { 'bbcode' => (($mimetype == 'text/bbcode') ? true : false) ); - $editor = status_editor($a, $x, false, 'Editwebpage'); + $editor = status_editor($x, false, 'Editwebpage'); $o .= replace_macros(get_markup_template('edpost_head.tpl'), array( '$title' => t('Edit Webpage'), |