/[LeafOK_CVS]/lbbs/src/article_post.c
ViewVC logotype

Diff of /lbbs/src/article_post.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.14 by sysadm, Sun Jun 15 02:04:18 2025 UTC Revision 1.15 by sysadm, Sun Jun 15 02:24:45 2025 UTC
# Line 623  int article_modify(const SECTION_LIST *p Line 623  int article_modify(const SECTION_LIST *p
623    
624          // Update article          // Update article
625          snprintf(sql, sizeof(sql),          snprintf(sql, sizeof(sql),
626                           "UPDATE bbs SET CID = %d, length = %ld WHERE AID = %d",                           "UPDATE bbs SET CID = %d, length = %ld, excerption = 0 WHERE AID = %d", // Set excerption = 0 explictly in case of rare condition
627                           p_article_new->cid, len_content, p_article->aid);                           p_article_new->cid, len_content, p_article->aid);
628    
629          if (mysql_query(db, sql) != 0)          if (mysql_query(db, sql) != 0)


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1