s4

changeset 147:b3d8a389e7a8

fix
author HIROSE Yuuji <yuuji@gentei.org>
date Mon, 30 Nov 2015 09:03:54 +0859
parents 3d0de7bdbf40
children afc3bf5c9dbb
files s4-funcs.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line diff
     1.1 --- a/s4-funcs.sh	Mon Nov 30 09:02:38 2015 +0859
     1.2 +++ b/s4-funcs.sh	Mon Nov 30 09:03:54 2015 +0859
     1.3 @@ -1361,7 +1361,7 @@
     1.4    echo "$gecos さん" > $tf
     1.5    viewtable $formdir/user.def user $1	> $pf
     1.6  
     1.7 -  sqcond="WHERE name='$user' AND key='profimg' AND type LIKE 'file:image%'"
     1.8 +  sqcond="WHERE name='$uname' AND key='profimg' AND type LIKE 'file:image%'"
     1.9    img=`query "SELECT type FROM user_m $sqcond LIMIT 1;"`
    1.10    imf=tmp/profimg; touch $imf
    1.11    if [ -n "$img" ]; then