Mercurial > hgrepos > hgweb.cgi > s4
changeset 635:ae37fefb7a2b
Adjust indentations
author | HIROSE Yuuji <yuuji@gentei.org> |
---|---|
date | Wed, 29 Apr 2020 18:28:47 +0900 |
parents | e09a5e6c79c6 |
children | b73ef3fd0e19 |
files | s4-funcs.sh |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/s4-funcs.sh Tue Apr 28 14:16:52 2020 +0900 +++ b/s4-funcs.sh Wed Apr 29 18:28:47 2020 +0900 @@ -3514,15 +3514,15 @@ ## XX: DIRTY Hack Ends here ## We should keep blog's owner as a single column which has ## foreign key constraint with primary key of grp/user. - else + else query "$sql" - fi - done - # Then, set up $pval for further insertion of tbl_s and tbl_m - for col in `gettblpkey $tbl`; do - val=`query "select $col from $tbl where rowid=$rowid;"|sed -e 's/\"/\"\"/g'` - pval="$pval${pval:+, }\"$val\"" - done + fi + done + # Then, set up $pval for further insertion of tbl_s and tbl_m + for col in `gettblpkey $tbl`; do + val=`query "select $col from $tbl where rowid=$rowid;"|sed -e 's/\"/\"\"/g'` + pval="$pval${pval:+, }\"$val\"" + done else # New entry # Generate values() for primary keys