From 639a5f65c2ec48188e5f10c83686d64bdcc9fea2 Mon Sep 17 00:00:00 2001 From: marvin78 Date: Fri, 10 Jan 2020 10:25:51 +0000 Subject: [PATCH] 98_todoist: fix for cChildProjects git-svn-id: https://svn.fhem.de/fhem/trunk@20931 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_todoist.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_todoist.pm b/fhem/FHEM/98_todoist.pm index 143a105b5..f2efb17c4 100644 --- a/fhem/FHEM/98_todoist.pm +++ b/fhem/FHEM/98_todoist.pm @@ -17,7 +17,7 @@ eval "use Date::Parse;1" or $missingModule .= "Date::Parse "; ####################### # Global variables -my $version = "1.2.8"; +my $version = "1.2.9"; my $srandUsed; @@ -1283,6 +1283,7 @@ sub todoist_GetProjectsCallback($$$){ my $new_name = encode_utf8($project->{name}); # new title my $title = $name."_".$new_name; + $title =~ s!\s!!g; # is this parent_id equal to id of current project? if ($pid == $parent_id) { # push to deletion array