Fix undefined array in ExtraItem class

This commit is contained in:
Kijin Sung 2016-02-21 15:08:55 +09:00
parent 87f0a258eb
commit 055fd49e40

View file

@ -224,6 +224,10 @@ class ExtraItem
{ {
$values = explode(',', $value); $values = explode(',', $value);
} }
else
{
$values = array($value);
}
$values = array_values($values); $values = array_values($values);
for($i = 0, $c = count($values); $i < $c; $i++) for($i = 0, $c = count($values); $i < $c; $i++)