Debug
This commit is contained in:
parent
448dc88f47
commit
e212655a5d
@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user