From aa5ae34544c4b3391c2fc42d045db3e9e5e87937 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=BE?= Date: Wed, 24 Oct 2012 21:38:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E5=87=BA=E9=94=99=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- autopub.php | 2 +- autopub_show.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autopub.php b/autopub.php index 8fdda57..bd2ab2b 100644 --- a/autopub.php +++ b/autopub.php @@ -1,7 +1,7 @@ fetch_array($result)){ $autopubCopyRight = '

(此文通过emlog自动发布插件发布)

'; $content = $row['content'].$autopubCopyRight; if(time() > $pub_time){ - $sql_do = "UPDATE ".DB_PREFIX."blog SET hide = 'n',date = '".$pub_time."',content = '".$content."' WHERE gid='".$row['gid']."'"; + $sql_do = "UPDATE ".DB_PREFIX."blog SET hide = 'n',date = '".$pub_time."',content = '".addslashes($content)."' WHERE gid='".$row['gid']."'"; $DB->query($sql_do); $CACHE->updateCache(); doAction('save_log', $row['gid']);