diff --git a/application/models/Archive.php b/application/models/Archive.php index 45cafed7..5ae47532 100644 --- a/application/models/Archive.php +++ b/application/models/Archive.php @@ -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)) {