From 170df8fbeabf79702c5f035ab9cf8d88a4b4e283 Mon Sep 17 00:00:00 2001 From: wlx Date: Fri, 24 May 2013 08:48:52 +0000 Subject: [PATCH] fix spell error --- application/default/controllers/HeiheController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/default/controllers/HeiheController.php b/application/default/controllers/HeiheController.php index 49b2491b..6b13b8a3 100644 --- a/application/default/controllers/HeiheController.php +++ b/application/default/controllers/HeiheController.php @@ -683,7 +683,7 @@ class HeiheController extends DataController //$sth = $this->db->prepare($sql); //$rs = $sth->execute(array($uname,$passwd,$uid,$gid,$homedir)); //$sql="insert into proftpusers (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',109,1002,'".$homedir."')"; - $sql="insert into ".$ftptalbe." (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',1002,1002,'".$homedir."')"; + $sql="insert into ".$ftptable." (userid,passwd,uid,gid,homedir) values('".$uname."','".$passwd."',1002,1002,'".$homedir."')"; $rs=$this->db->query($sql); if($rs) {