diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-07-13 17:43:10 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-07-13 17:43:10 -0700 |
commit | 6916c1076cd238779a9653adce81eabda2b655ab (patch) | |
tree | edaf7d6f86573c8f19b4d420496b59b0f6476a6f /mod/mitem.php | |
parent | 69a4cf73a310b3df1f80460addb27acf1fea5f2b (diff) | |
parent | 86633bda48af77483a082d79c1bec7abc3febab3 (diff) | |
download | volse-hubzilla-6916c1076cd238779a9653adce81eabda2b655ab.tar.gz volse-hubzilla-6916c1076cd238779a9653adce81eabda2b655ab.tar.bz2 volse-hubzilla-6916c1076cd238779a9653adce81eabda2b655ab.zip |
Merge branch 'master' of https://github.com/redmatrix/redmatrix
Diffstat (limited to 'mod/mitem.php')
-rw-r--r-- | mod/mitem.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/mod/mitem.php b/mod/mitem.php index c4c293d1e..bc93165ac 100644 --- a/mod/mitem.php +++ b/mod/mitem.php @@ -44,9 +44,6 @@ function mitem_post(&$a) { if(! $a->data['menu']) return; - - $channel = $a->get_channel(); - if(!$_REQUEST['mitem_desc'] || !$_REQUEST['mitem_link']) { notice( t('Unable to create element.') . EOL); return; @@ -90,9 +87,6 @@ function mitem_post(&$a) { } - - - } @@ -167,7 +161,8 @@ function mitem_content(&$a) { '$submit_more' => t('Submit and continue'), '$display' => $display, '$lockstate' => $lockstate, - '$menu_names' => $menu_names + '$menu_names' => $menu_names, + '$sys' => $a->is_sys )); $o .= replace_macros(get_markup_template('mitemlist.tpl'),array( |