Remove duplicate entry

This commit is contained in:
Michael RICOIS 2012-05-15 15:42:18 +00:00
parent c188a96f09
commit c0c6df3346

View File

@ -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':