summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-09-14 22:59:25 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-09-14 22:59:25 +0200
commit6a84dadf1ab59688328c46f615cc2c59636b7281 (patch)
tree7d643a3aa682c091fcff9b7ce9fb9b4958de0369 /includes
parent2a09f904a5a6bd92d4c8191abe53061bd69d7e00 (diff)
fixed news table name
Diffstat (limited to 'includes')
-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.");