mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-08 13:24:56 +00:00
98_todoist: fix for cChildProjects
git-svn-id: https://svn.fhem.de/fhem/trunk@20931 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aa0dd340a3
commit
639a5f65c2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user