summaryrefslogtreecommitdiff
path: root/includes/pages/admin_news.php
diff options
context:
space:
mode:
authorJan-Philipp Litza <janphilipp@litza.de>2011-09-14 23:11:34 +0200
committerJan-Philipp Litza <janphilipp@litza.de>2011-09-14 23:11:34 +0200
commit2ad0124eb05bc87f0f1265ff7ba169c34de484e5 (patch)
treef202f6345a85bf273dde0b6722a8be33ec0d45b5 /includes/pages/admin_news.php
parent01bd4e33de68d3ea85bfa670f9529b1154886187 (diff)
parent95e9e7b14776e48983c23e02ef80198c5902d458 (diff)
Merge branch 'master' of https://vcs.wybt.net/engelsystem/git
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.");