DbObject: Fix mixed key collision
This commit is contained in:
parent
628d7c3221
commit
4d2cbdea44
|
@ -640,6 +640,9 @@ abstract class DbObject
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
if (is_array($id)) {
|
||||||
|
$id = print_r($id, 1);
|
||||||
|
}
|
||||||
throw new Exception(
|
throw new Exception(
|
||||||
sprintf(
|
sprintf(
|
||||||
'Storing %s[%s] failed: %s {%s}',
|
'Storing %s[%s] failed: %s {%s}',
|
||||||
|
|
Loading…
Reference in New Issue