Commit 3f828ba2 authored by Vitaly Lipatov's avatar Vitaly Lipatov

fix tasknumber checking

parent 87b29617
......@@ -118,7 +118,7 @@ get_local_alt_contents_index()
tasknumber()
{
local num="$(echo "$*" | sed -e "s| *#*||g")"
isnumber "$num" && echo "$num"
local num="$(echo "$1" | sed -e "s| *#*||g")"
isnumber "$num" && echo "$*"
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment