Commit f6cc9d92 authored by Manfred Kutas's avatar Manfred Kutas

ZP-1268 Undefined variable: name in z-push-admin.

Released under the Affero GNU General Public License (AGPL) version 3.
parent f0843abd
......@@ -835,7 +835,7 @@ class ZPushAdminCLI {
$syncfolderid = $device->GetFolderIdForBackendId($df['folderid'], false, false, null);
switch($df['type']) {
case SYNC_FOLDER_TYPE_USER_APPOINTMENT:
if ($name == KOE_GAB_NAME) {
if ($df['name'] == KOE_GAB_NAME) {
$gentype = "GAB";
}
else {
......
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