From 6a84dadf1ab59688328c46f615cc2c59636b7281 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Wed, 14 Sep 2011 22:59:25 +0200 Subject: [PATCH] fixed news table name --- includes/pages/admin_news.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/pages/admin_news.php b/includes/pages/admin_news.php index 2c6e1f45..c7194e7c 100644 --- a/includes/pages/admin_news.php +++ b/includes/pages/admin_news.php @@ -75,7 +75,7 @@ function admin_news() { if (count($news) > 0) { list ($news) = $news; - sql_query("DELETE FROM `news` WHERE `ID`=" . sql_escape($id) . " LIMIT 1"); + sql_query("DELETE FROM `News` WHERE `ID`=" . sql_escape($id) . " LIMIT 1"); header("Location: " . page_link_to("news")); } else return error("No News found.");