Index: trunk/admin/category/addcategory_images.php =================================================================== diff -u -r374 -r822 --- trunk/admin/category/addcategory_images.php (.../addcategory_images.php) (revision 374) +++ trunk/admin/category/addcategory_images.php (.../addcategory_images.php) (revision 822) @@ -298,6 +298,11 @@ $objListToolBar->AddToInitScript("fwLoadMenus();\n"); +$filter = false; // always initialize variables before use +if ($ImgView != $Img_AllValue) { + $filter = true; +} + $h = "\n\n\n"; int_header($objListToolBar,NULL, $title,NULL,$h); if ($objSession->GetVariable("HasChanges") == 1) { @@ -310,6 +315,15 @@ + + + + + +
+ +
+
" method=POST>