Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fusiondirectory
fusiondirectory
Commits
5defa898
Commit
5defa898
authored
Mar 03, 2015
by
Côme Bernigaud
Committed by
Benoit Mortier
Mar 03, 2015
Browse files
Fixes
#3249
When a duplicate is found, its dn should be given
parent
c6a6fbef
Changes
1
Hide whitespace changes
Inline
Side-by-side
include/class_msgPool.inc
View file @
5defa898
...
...
@@ -393,9 +393,13 @@ class msgPool {
*
* \param string $name The entry duplicated
*/
public
static
function
duplicated
(
$name
)
public
static
function
duplicated
(
$name
,
$dn
=
NULL
)
{
return
sprintf
(
_
(
"There is already an entry with this '%s' attribute in the system!"
),
$name
);
if
(
$dn
==
NULL
)
{
return
sprintf
(
_
(
"There is already an entry with this '%s' attribute in the system!"
),
$name
);
}
else
{
return
sprintf
(
_
(
"The entry '%s' already use this '%s' attribute!"
),
$dn
,
$name
);
}
}
/*!
...
...
Côme Chilliet
@cchilliet
mentioned in issue
#1087 (closed)
·
Sep 02, 2017
mentioned in issue
#1087 (closed)
mentioned in issue #1087
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment