summaryrefslogtreecommitdiff
path: root/actions/finishaddopenid.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-18 07:15:12 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-18 07:15:12 -0400
commitc5e8828d7e6d953e44cc9d29ee367e3fb46bea57 (patch)
tree24cac61216419dcba389e7aa610b9f8ca6d972ed /actions/finishaddopenid.php
parent9eb05720a11d0cd3a55b9689067d13a1f00ba508 (diff)
error on save
darcs-hash:20080618111512-84dde-835a9d92386c5a5a5e51b0879c04575e9a80fdf5.gz
Diffstat (limited to 'actions/finishaddopenid.php')
-rw-r--r--actions/finishaddopenid.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/actions/finishaddopenid.php b/actions/finishaddopenid.php
index bd9ecf7dd..c4488c23b 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;
}
}