Index: site/App/Faq/Admin/Form/Filter.php =================================================================== --- site/App/Faq/Admin/Form/Filter.php (revision 5764) +++ site/App/Faq/Admin/Form/Filter.php (working copy) @@ -11,7 +11,7 @@ 0 => $dataObj::NO_CATEGORY_TITLE ); $categories = $categories + $dataObj->getFaqCategory4Select(); - $this->addElement('select', 'categoryId', array('label' => 'Category', 'multiOptions' => $categories)); + $this->addElement('select', 'categoryId', ['label' => 'Category', 'multiOptions' => $categories, 'value' => '']); return $this; } } Index: www/_lib/_sys/log.php =================================================================== --- www/_lib/_sys/log.php (revision 5764) +++ www/_lib/_sys/log.php (working copy) @@ -29,10 +29,9 @@ $logHTML .= '
' . $NL; $config = Zend_Registry::get('config'); -if ($config->database->params->profiler) { - // Zend_Db - $db = Qs_Db::getInstance($config); - $profiler = $db->getProfiler(); +$db = Qs_Db::getInstance($config); +$profiler = $db->getProfiler(); +if ($profiler->getEnabled()) { $list = $profiler->getQueryProfiles(); $profilerHtml = ''; if (is_array($list) && !empty($list)) {