From: Pierre Habouzit Date: Thu, 11 Sep 2003 16:13:25 +0000 (+0000) Subject: no comment ... SQL ERROR X-Git-Tag: procmail~22 X-Git-Url: http://git.polytechnique.org/?p=old-projects.git;a=commitdiff_plain;h=eb0c0595654ebf9e2f97ff0c40bcbfb297e90690 no comment ... SQL ERROR --- diff --git a/philter/philter/index.php b/philter/philter/index.php index 0754965..8c0cf61 100644 --- a/philter/philter/index.php +++ b/philter/philter/index.php @@ -25,9 +25,9 @@ function to_tmp($_uid) { } function to_main($_uid) { - mysql_query("DELETE FROM tmp_rules WHERE uid='$_uid'"); - mysql_query("DELETE FROM tmp_actions WHERE uid='$_uid'"); - mysql_query("DELETE FROM tmp_matches WHERE uid='$_uid'"); + mysql_query("DELETE FROM rules WHERE uid='$_uid'"); + mysql_query("DELETE FROM actions WHERE uid='$_uid'"); + mysql_query("DELETE FROM matches WHERE uid='$_uid'"); mysql_query("INSERT INTO rules SELECT * FROM tmp_rules WHERE uid='$_uid'"); mysql_query("INSERT INTO actions SELECT * FROM tmp_actions WHERE uid='$_uid'"); mysql_query("INSERT INTO matches SELECT * FROM tmp_matches WHERE uid='$_uid'");