2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-10 09:16:53 +00:00

57_CALVIEW: bugfix for set-command

git-svn-id: https://svn.fhem.de/fhem/trunk@8160 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
chris1284 2015-03-06 16:01:27 +00:00
parent 692928ec12
commit c814c8888b

View File

@ -1,4 +1,4 @@
# $Id: 57_CALVIEW.pm 7008 2015-03-05 06:15:00Z chris1284 $
# $Id: 57_CALVIEW.pm 7009 2015-03-06 17:15:00Z chris1284 $
###########################
# CALVIEW
#
@ -56,7 +56,7 @@ sub CALVIEW_Undef($$){
sub CALVIEW_Set($@){
my ( $hash, @a ) = @_;
return "\"set CALVIEW\" needs at least an argument" if ( @a < 2 );
return "\"set CALVIEW\" Unknown argument $a[1], choose update" if($a[1] eq '?');
return "\"set CALVIEW\" Unknown argument $a[1], choose one of update" if($a[1] eq '?');
my $name = shift @a;
my $opt = shift @a;
my $arg = join("", @a);