Commit dd5a5cf5 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Added DN in the informations of foreignKey source

parent 8397b6ef
......@@ -1423,6 +1423,7 @@ class plugin
'CLASS' => $field['tab'],
'FIELD' => $field['field'],
'MODE' => preg_replace('/^handle_/', '', $mode),
'DN' => $this->dn,
)
);
}
......@@ -1440,7 +1441,11 @@ class plugin
if ($tabobject->by_object[$tab]->foreignKeyCheck(
$ofield,
$field['value'],
array('CLASS' => $field['tab'], 'FIELD' => $field['field'])
array(
'CLASS' => $field['tab'],
'FIELD' => $field['field'],
'DN' => $this->dn,
)
)) {
if (!isset($refs[$dn])) {
$refs[$dn] = array(
......@@ -1503,6 +1508,7 @@ class plugin
* array(
* 'CLASS' => class,
* 'FIELD' => field,
* 'DN' => dn,
* 'MODE' => mode
* )
* mode being either 'copy' or 'move', defaults to 'move'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment