diff --git a/e107_admin/update_routines.php b/e107_admin/update_routines.php index 703b0fcf9..37f3b5b47 100644 --- a/e107_admin/update_routines.php +++ b/e107_admin/update_routines.php @@ -1600,6 +1600,7 @@ function update_706_to_800($type='') { if ($just_check) return update_needed('Core search handlers need to be updated.'); $searchPref->removePref('core_handlers/pages')->save(false,true,false); + e107::getSingleton('e107plugin')->refresh('page'); } diff --git a/e107_handlers/chart_class.php b/e107_handlers/chart_class.php index e62c07fda..02fb33979 100644 --- a/e107_handlers/chart_class.php +++ b/e107_handlers/chart_class.php @@ -286,7 +286,7 @@ class e_chart } - public function setOptions($data,$id) + public function setOptions($data) { if($this->provider == 'google' && $data == 'demo') diff --git a/e107_handlers/db_verify_class.php b/e107_handlers/db_verify_class.php index fc6106e12..3c91c05ef 100644 --- a/e107_handlers/db_verify_class.php +++ b/e107_handlers/db_verify_class.php @@ -175,12 +175,15 @@ class db_verify $this->compare($tb); } - foreach($this->sqlLanguageTables as $lng=>$lantab) // language tables. + if(!empty($this->sqlLanguageTables)) // language tables. { - foreach($dtables as $tb) + foreach($this->sqlLanguageTables as $lng=>$lantab) { - $this->compare($tb,$lng); - } + foreach($dtables as $tb) + { + $this->compare($tb,$lng); + } + } } } @@ -192,6 +195,10 @@ class db_verify function compare($selection,$language='') { + if(empty($this->tables[$selection]['tables'])) + { + return; + } foreach($this->tables[$selection]['tables'] as $key=>$tbl) {