fix error
This commit is contained in:
parent
a119f356b9
commit
44119d6412
|
@ -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))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue