Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] SQL error when editing thread
#2
Try this; in inc/datahandlers/post.php find:

$db->delete_query("threadsubscriptions", "uid='{$post['uid']}' AND tid='{$post['tid']}'");

replace with

$db->delete_query("threadsubscriptions", "uid='".intval($post['uid'])."' AND tid='".intval($post['tid'])."'");


Messages In This Thread
[F] SQL error when editing thread - by kvikkjokk - 2008-11-12, 07:37 AM
RE: SQL error when editing thread - by Ryan Gordon - 2008-11-16, 07:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)