summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--menu_items.php4
-rw-r--r--templates/menu_items_edit_inc.tpl2
2 files changed, 3 insertions, 3 deletions
diff --git a/menu_items.php b/menu_items.php
index cc9a3a5..07be5a7 100644
--- a/menu_items.php
+++ b/menu_items.php
@@ -1,7 +1,7 @@
<?php
/**
* @author xing <xing@synapse.plus.com>
- * @version $Revision: 1.11 $
+ * @version $Revision: 1.12 $
* @package nexus
* @subpackage functions
*/
@@ -60,7 +60,7 @@ if( !empty( $_REQUEST['item_id'] ) ) {
$gBitSmarty->assign( 'editItem', $gNexus->mInfo['items'][$_REQUEST['item_id']] );
}
// when we use the content type dropdown or the filter, we need to pass back the information to the tpl
-if( isset( $_REQUEST['find_objects'] ) && !isset( $_REQUEST['store_item'] ) ) {
+if( isset( $_REQUEST['find'] ) && !isset( $_REQUEST['store_item'] ) ) {
$gBitSmarty->assign( 'editItem', $_REQUEST );
}
if( isset( $_REQUEST['tab'] ) ) {
diff --git a/templates/menu_items_edit_inc.tpl b/templates/menu_items_edit_inc.tpl
index 1bb5581..3271de1 100644
--- a/templates/menu_items_edit_inc.tpl
+++ b/templates/menu_items_edit_inc.tpl
@@ -11,7 +11,7 @@
{/forminput}
{forminput}
- <input type="text" name="find_objects" value="{$smarty.request.find_objects}" />
+ <input type="text" name="find" value="{$smarty.request.find}" />
<input type="submit" value="{tr}filter{/tr}" name="search_objects" />
{formhelp note="You can select the content type you want to limit the dropdown to and/or a word filter."}
{/forminput}