fix error

This commit is contained in:
wlx 2014-06-11 03:18:18 +00:00
parent a119f356b9
commit 44119d6412
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ class Archive
ts_published=".$data['ts_published'].",
is_pub=".$data['is_pub'].",
body=".$data['body']."
WHERE id=$aid and sub='$config->sub->news'";
WHERE id=$aid and sub='".$config->sub->news."'";
try{
if($this->db->exec($sql))
{