From b950094921221551cd3a1ae7bd0fce91e683bd57 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jonas=20H=C3=A4ggqvist?= Date: Tue, 17 Mar 2009 22:24:23 +0100 Subject: [PATCH] Store results for checkwps of both current and release. --- private/themesite.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/themesite.class.php b/private/themesite.class.php index 3247138..b3be852 100644 --- a/private/themesite.class.php +++ b/private/themesite.class.php @@ -97,7 +97,7 @@ class themesite { * data, and one with only the latest results for fast * retrieval? */ - $this->db->query(sprintf("DELETE FROM checkwps WHERE themeid=%d", $theme['RowID'])); + $this->db->query(sprintf("DELETE FROM checkwps WHERE themeid=%d AND version_type='%s'", $theme['RowID'], db::quote($version_type))); $sql = sprintf("INSERT INTO checkwps (themeid, version_type, version_number, target, pass) VALUES (%d, '%s', '%s', '%s', '%s')", $theme['RowID'], db::quote($version_type), -- 2.11.4.GIT