1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2024-12-01 13:24:10 +01:00

Contacts: Make sure all parameters are saved.

This commit is contained in:
Thomas Tanghus 2013-03-10 12:47:06 +01:00
parent 832dcd0bfb
commit 3612530787

View File

@ -52,6 +52,11 @@ function setParameters($property, $parameters, $reset = false) {
}
}
}
} else {
if(trim($key) && trim($parameter)) {
debug('Adding parameter: '.$key.'=>'.print_r($parameter, true));
$property->add($key, strip_tags($parameter));
}
}
}
}