Index: trunk/admin/category/addcategory_relations.php =================================================================== diff -u -r661 -r822 --- trunk/admin/category/addcategory_relations.php (.../addcategory_relations.php) (revision 661) +++ trunk/admin/category/addcategory_relations.php (.../addcategory_relations.php) (revision 822) @@ -382,6 +382,18 @@ } $objListToolBar->AddToInitScript("fwLoadMenus();\n"); + + +$filter = false; // always initialize variables before use +if($objSession->GetVariable("CatRelSearchWord") != '') { + $filter = true; +} +else { + if ($RelView != $Rel_AllValue) { + $filter = true; + } +} + $h = "\n\n\n"; int_header($objListToolBar,NULL, $title,NULL,$h); if ($objSession->GetVariable("HasChanges") == 1) { @@ -394,6 +406,15 @@ + + + + + +
+ +
+
PrintList();