This commit is contained in:
Michael RICOIS 2015-03-27 12:59:00 +00:00
parent 448dc88f47
commit e212655a5d

View File

@ -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());
}
}
}