aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)