aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-06 03:56:47 -0700
committerfriendica <info@friendica.com>2013-09-06 03:56:47 -0700
commitc3d535151538ad62a69f16bb8dfef50f47752341 (patch)
tree5b3e3b213cf15badad6273653a23a0f151035ca7 /mod
parent0387fa10c9730d0576c850ecfa14f596d65db6fd (diff)
downloadvolse-hubzilla-c3d535151538ad62a69f16bb8dfef50f47752341.tar.gz
volse-hubzilla-c3d535151538ad62a69f16bb8dfef50f47752341.tar.bz2
volse-hubzilla-c3d535151538ad62a69f16bb8dfef50f47752341.zip
fix mimeselect on edit
Diffstat (limited to 'mod')
-rw-r--r--mod/editblock.php2
-rw-r--r--mod/editwebpage.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/mod/editblock.php b/mod/editblock.php
index 256bd1607..6654a66b5 100644
--- a/mod/editblock.php
+++ b/mod/editblock.php
@@ -73,7 +73,7 @@ function editblock_content(&$a) {
if(get_config('system','page_mimetype'))
$mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />';
else
- $mimeselect = mimetype_select($item[0]['uid'],$mimetype);
+ $mimeselect = mimetype_select($itm[0]['uid'],$mimetype);
diff --git a/mod/editwebpage.php b/mod/editwebpage.php
index 66137c474..273c6a465 100644
--- a/mod/editwebpage.php
+++ b/mod/editwebpage.php
@@ -75,7 +75,7 @@ function editwebpage_content(&$a) {
if(get_config('system','page_mimetype'))
$mimeselect = '<input type="hidden" name="mimetype" value="' . $mimetype . '" />';
else
- $mimeselect = mimetype_select($item[0]['uid'],$mimetype);
+ $mimeselect = mimetype_select($itm[0]['uid'],$mimetype);
$layout = get_config('system','page_layout');
if($layout)