try {
$Row = $this->find(trim($id))->current();
if (!$Row) {
$Row = $this->createRow();
}
} catch (Exception $e) {
$Row = $this->createRow();
}
--
View this message in context: http://n4.nabble.com/Transactions-failing-with-postgresql-tp1016829p1017483.html
Sent from the Zend DB mailing list archive at Nabble.com.
2010年1月19日星期二
Re: [fw-db] Transactions failing with postgresql
Found the error, it was using find without an id..
订阅:
博文评论 (Atom)
没有评论:
发表评论