aboutsummaryrefslogtreecommitdiffstats
path: root/web/api/write/networks
diff options
context:
space:
mode:
authorOle Mathias Aa. Heggem <olemathias.aa.heggem@gmail.com>2019-04-11 22:54:54 +0100
committerolemathias.aa.heggem@gmail.com <root@gondul.tg19.gathering.org>2019-04-11 22:54:54 +0100
commit294cc96c4c8f2133725c37a930330bd0efe59f73 (patch)
treee1541d4eb35d72d2f427fbac991c46ae050de9b1 /web/api/write/networks
parentae354ad535de3d3126117977597025eccb932fb3 (diff)
Make network work again
Diffstat (limited to 'web/api/write/networks')
-rwxr-xr-xweb/api/write/networks2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/api/write/networks b/web/api/write/networks
index 460a7ae..8a95af7 100755
--- a/web/api/write/networks
+++ b/web/api/write/networks
@@ -59,7 +59,7 @@ foreach my $tmp2 (@tmp) {
push @added, $network{'name'};
} else {
if (defined($network{'tags'})) {
- $network{'tags'} =~ s/'/"/g;
+ $network{'tags'} = "[". join(",", map { "\"".$_."\"" } @{$network{'tags'}})."]";
}
my @set;
map {