From: Evan Prodromou Date: Wed, 18 Jun 2008 11:15:12 +0000 (-0400) Subject: error on save X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5e8828d7e6d953e44cc9d29ee367e3fb46bea57;p=quix0rs-gnu-social.git error on save darcs-hash:20080618111512-84dde-835a9d92386c5a5a5e51b0879c04575e9a80fdf5.gz --- diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php index bd9ecf7dd7..c4488c23bb 100644 --- a/actions/finishaddopenid.php +++ b/actions/finishaddopenid.php @@ -148,6 +148,8 @@ class FinishaddopenidAction extends Action { common_debug('Saving ' . print_r($oid, TRUE), __FILE__); if (!$oid->insert()) { + $err = PEAR::getStaticProperty('DB_DataObject','lastError'); + common_debug('DB error ' . $err->code . ': ' . $err->message, __FILE__); return false; } }