Fix condition in page creator script.
This commit is contained in:
parent
c473771af4
commit
d78f034f5d
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ read_categories() {
|
|||
|
||||
if [[ -n $_categories ]]; then
|
||||
echo "$_categories" | sed "s/categories *: *//;s/\[//;s/\].*//;s/, */,/g;s/\"//g;s/'//g"
|
||||
elif [[ -n "_category" ]]; then
|
||||
elif [[ -n $_category ]]; then
|
||||
echo "$_category" | sed "s/category *: *//;s/\[//;s/\].*//;s/, */,/g;s/\"//g;s/'//g"
|
||||
fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue