dblayeroo : return the value when the entry already exists
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4987 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -2874,14 +2874,16 @@ class dblayeroo
|
|||||||
{
|
{
|
||||||
foreach ($columns as $column)
|
foreach ($columns as $column)
|
||||||
{
|
{
|
||||||
$errors[$column] = dgettext ("domframework",
|
$errors[$column] = sprintf (dgettext ("domframework",
|
||||||
"An entry with this value already exists");
|
"An entry with this value '%s' already exists"),
|
||||||
|
mb_substr ($setValues[$column], 0, 15));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$errors[$columns] = dgettext ("domframework",
|
$errors[$columns] = sprintf (dgettext ("domframework",
|
||||||
"An entry with this value already exists");
|
"An entry with this value '%s' already exists"),
|
||||||
|
mb_substr ($setValues[$columns], 0, 15));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
unset ($objTmp);
|
unset ($objTmp);
|
||||||
|
|||||||
Reference in New Issue
Block a user