Use the right variable when unserializing old attendee data

This commit is contained in:
Thomas Bruederli 2015-10-19 23:01:48 +02:00
parent 90c9f3264f
commit b2839729b5

View file

@ -1450,7 +1450,7 @@ class database_driver extends calendar_driver
} }
// decode the old serialization format // decode the old serialization format
else { else {
foreach (explode("\n", $event['attendees']) as $line) { foreach (explode("\n", $s_attendees) as $line) {
$att = array(); $att = array();
foreach (rcube_utils::explode_quoted_string(';', $line) as $prop) { foreach (rcube_utils::explode_quoted_string(';', $line) as $prop) {
list($key, $value) = explode("=", $prop); list($key, $value) = explode("=", $prop);