summaryrefslogtreecommitdiff
path: root/actions/finishaddopenid.php
diff options
context:
space:
mode:
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;
}
}