diff --git a/class2.php b/class2.php index 9d1c0b61f..f9e791001 100644 --- a/class2.php +++ b/class2.php @@ -9,8 +9,8 @@ * General purpose file * * $Source: /cvs_backup/e107_0.8/class2.php,v $ -* $Revision: 1.139 $ -* $Date: 2009-09-06 22:12:39 $ +* $Revision: 1.140 $ +* $Date: 2009-09-10 10:23:12 $ * $Author: e107coders $ * */ @@ -930,7 +930,7 @@ if (!class_exists('e107table')) { $this->eMenuCount++; } - tablestyle($caption, $text, $mode, array('menuArea'=>$this->eMenuArea,'menuCount'=>$this->eMenuCount,'menuTotal'=>$this->eMenuTotal[$this->eMenuArea],'setStyle'=>$this->eSetStyle)); + tablestyle($caption, $text, $mode, array('menuArea'=>$this->eMenuArea,'menuCount'=>$this->eMenuCount,'menuTotal'=>varset($this->eMenuTotal[$this->eMenuArea]),'setStyle'=>$this->eSetStyle)); return ''; } } diff --git a/e107_admin/db.php b/e107_admin/db.php index 9f776915e..46f302e41 100644 --- a/e107_admin/db.php +++ b/e107_admin/db.php @@ -9,8 +9,8 @@ * Administration - Database Utilities * * $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $ - * $Revision: 1.31 $ - * $Date: 2009-09-10 09:49:01 $ + * $Revision: 1.32 $ + * $Date: 2009-09-10 10:23:12 $ * $Author: e107coders $ * */ @@ -178,7 +178,7 @@ class system_tools $this->scan_override(); } - if(isset($_POST['plugin_scan']) || e_QUERY == "plugin" || $_POST['delplug'] || $_GET['mode']=='plugin_scan') + if(isset($_POST['plugin_scan']) || e_QUERY == "plugin" || isset($_POST['delplug']) || $_GET['mode']=='plugin_scan') { $this->plugin_viewscan(); }