From 6e9952a30e2c7aed4fb89442a0217498595e5ca4 Mon Sep 17 00:00:00 2001 From: Alexandre Morignot <erdnaxeli@cervoi.se> Date: Tue, 3 Mar 2015 15:22:57 +0100 Subject: [PATCH] bugfix --- Sam/sites/parser.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sam/sites/parser.pm b/Sam/sites/parser.pm index 579c7d7..4de1a53 100644 --- a/Sam/sites/parser.pm +++ b/Sam/sites/parser.pm @@ -38,6 +38,7 @@ sub exec { } $id = Sam::commands::add::exec( + $chan->[0], $content{'title'}, $content{'day'}, $content{'month'}, @@ -55,7 +56,7 @@ sub exec { ); } - Sam::commands::edit::exec($id, 'url', $content{'url'}, $chan); + Sam::commands::edit::exec($id, 'url', $content{'url'}, $chan->[0]); return 1; } -- GitLab