diff --git a/scripts/core/sxmo_contactmenu.sh b/scripts/core/sxmo_contactmenu.sh index 61806c9..5646db7 100755 --- a/scripts/core/sxmo_contactmenu.sh +++ b/scripts/core/sxmo_contactmenu.sh @@ -16,6 +16,7 @@ valid_number() { newcontact() { name="$(echo | sxmo_dmenu_with_kb.sh -c -l 2 -p "$icon_usr Name")" + number= while [ -z "$number" ]; do number="$(echo | sxmo_dmenu_with_kb.sh -c -l 2 -p "$icon_phl Number")" number="$(valid_number "$number")"