From: Ralf Ertzinger Date: Thu, 2 May 2013 16:38:17 +0000 (+0200) Subject: libvideosite: Fix typos in _config_list_del X-Git-Url: https://git.camperquake.de/gitweb.cgi?p=videosite.git;a=commitdiff_plain;h=a644eb433aca424a85dcbfda6e42b0675dfbfd86 libvideosite: Fix typos in _config_list_del --- diff --git a/libvideosite.pm b/libvideosite.pm index 55dacd0..5f3acdb 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -367,9 +367,9 @@ sub _config_list_del { } _debug("Removing %s from list %s", $item, join('.', @{$path})); - @c = map { $item ne $_ } split(/\s*,\s*/, _config_get($path)); + @c = grep { $item ne $_ } split(/\s*,\s*/, _config_get($path)); - _config_set($path, join('.', @c)); + _config_set($path, join(',', @c)); } #