Commit 9d44e7ce authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-1072 Keep folderid as additionalFolders key in ASDevice.

Released under the Affero GNU General Public License (AGPL) version 3.
parent f890776c
......@@ -1032,7 +1032,7 @@ class ASDevice extends StateObject {
$noDupsCheck = array();
foreach($this->additionalfolders as $keepFolder) {
if ($keepFolder['store'] !== $store) {
$newAF[] = $keepFolder;
$newAF[$keepFolder['folderid']] = $keepFolder;
}
else {
$noDupsCheck[$keepFolder['folderid']] = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment