diff --git a/library/Application/Controller/Plugin/DataDate.php b/library/Application/Controller/Plugin/DataDate.php index 8bfe9358..28801c4d 100644 --- a/library/Application/Controller/Plugin/DataDate.php +++ b/library/Application/Controller/Plugin/DataDate.php @@ -23,13 +23,14 @@ class Application_Controller_Plugin_DataDate extends Zend_Controller_Plugin_Abst ->where('indexingEnd IS NOT NULL') ->order('createEnd DESC') ->limit(1); - $view->DataDate = false; try { $result = $model->fetchRow($sql); $view->DataDate = substr($result->createEnd,0,10); - } catch(Zend_Db_Exception $e) {} + } catch(Zend_Db_Exception $e) { + Zend_Registry::get('firebug')->info($e->getMessage()); + } } }