s4

changeset 393:cee8ffb43ae2

Revert to direct retrieving from db
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 05 Dec 2016 13:57:22 +0859
parents be955399aec9
children f095e97066c5
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Mon Dec 05 10:19:54 2016 +0859
     1.2 +++ b/s4-funcs.sh	Mon Dec 05 13:57:22 2016 +0859
     1.3 @@ -2981,7 +2981,7 @@
     1.4        ##err p2t:grp:q $sql
     1.5        isgrpowner $user "`query $sql`" && rowowner=$user
     1.6      else
     1.7 -      rowowner=`getvalbyid $tbl owner "$rowid"`
     1.8 +      rowowner=`query "SELECT owner FROM $tbl WHERE rowid=$rowid;"`
     1.9        rowowner=${rowowner:-`query "select author from $tbl
    1.10  	 where rowid=$rowid;"`}
    1.11      fi