Remove duplicate entry
This commit is contained in:
parent
c188a96f09
commit
c0c6df3346
@ -725,6 +725,11 @@ class Scores_Fields
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Remove duplicate values
|
||||||
|
if (is_array($value) ) {
|
||||||
|
$value = array_unique($value);
|
||||||
|
}
|
||||||
|
|
||||||
//Before to save the value
|
//Before to save the value
|
||||||
switch ( $types[0] ) {
|
switch ( $types[0] ) {
|
||||||
case 'interval':
|
case 'interval':
|
||||||
|
Loading…
Reference in New Issue
Block a user