]> git.plutz.net Git - serve0/blobdiff - multitag.sh
bugfix: assign new tags from text field
[serve0] / multitag.sh
index 888ff9d9a18bcc7f29d96139ab9cdded84a7bfb1..bbbf946425d28419fb90c7d83099acde73b0825c 100755 (executable)
@@ -6,7 +6,7 @@ newtags=''
 for tn in $(seq 1 $(POST_COUNT tag)); do
   newtags="$(POST tag $tn)${BR}${newtags}"
 done
-newtags="$(POST newtag |tr -d '\r' |tr , '\n')${BR}${newtags}"
+newtags="$(POST newtagn |tr -d '\r' |tr , '\n')${BR}${newtags}"
 
 while [ "${newtags#${BR}}" != "${newtags}" ]; do newtags="${newtags#${BR}}"; done
 while [ "${newtags%${BR}}" != "${newtags}" ]; do newtags="${newtags%${BR}}"; done