DbObject: Fix mixed key collision

This commit is contained in:
Alexander Fuhr 2015-07-01 15:13:28 +02:00
parent 628d7c3221
commit 4d2cbdea44
1 changed files with 3 additions and 0 deletions

View File

@ -640,6 +640,9 @@ abstract class DbObject
}
} catch (Exception $e) {
if (is_array($id)) {
$id = print_r($id, 1);
}
throw new Exception(
sprintf(
'Storing %s[%s] failed: %s {%s}',