summaryrefslogtreecommitdiff
path: root/includes/pages/admin_news.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/pages/admin_news.php')
-rw-r--r--includes/pages/admin_news.php2
1 files changed, 1 insertions, 1 deletions
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.");