]> git.plutz.net Git - busy/commitdiff
whatever
authorpaul <paul@plutz.net>
Thu, 22 Sep 2011 00:56:55 +0000 (00:56 +0000)
committerpaul <paul@plutz.net>
Thu, 22 Sep 2011 00:56:55 +0000 (00:56 +0000)
svn path=/trunk/; revision=11

write/image_upload.cgi

index 655b40fc0bb6d54a69159ebefd8ea687c2004656..bc66728d9bfd65aa32fdd5193fb253fdd3c56a77 100755 (executable)
@@ -67,6 +67,8 @@ n=1
     truncate -s $(($size - 2)) $filename
   else
     case "$field" in
+      picture) echo -E "$line" >>$filename
+       ;;
       title)   title="$(sed 's/\t/ /g;s/\r|\n//g;s/\\/\\\\/g' <<<"$line")"
        ;;
       name)    name="$(sed 's/\t/ /g;s/\r|\n//g;s/\\/\\\\/g' <<<"$line")"
@@ -79,8 +81,6 @@ n=1
        ;;
       desc)    desc="${desc}$(sed 's/\t/ /g;s/\r//g;s/\\/\\\\/g' <<<"$line")\n"
        ;;
-      picture) echo -E "$line" >>$filename
-       ;;
     esac
   fi
 done