diff --git a/wwwroot/connecthost.xterm b/wwwroot/connecthost.xterm index 5393813..1825891 100644 --- a/wwwroot/connecthost.xterm +++ b/wwwroot/connecthost.xterm @@ -3,7 +3,7 @@ async def gethostinfo(sor, ns): sql="""select a.* from hostdev a where a.id= ${id}$ - and a.ownerid = ${userid}$ + and a.ownerid = ${ownerid}$ """ recs = await sor.sqlExe(sql,ns.copy()) if len(recs) > 0: