summaryrefslogtreecommitdiff
path: root/templates/themes/categories/theme.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/themes/categories/theme.php')
-rw-r--r--templates/themes/categories/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/categories/theme.php b/templates/themes/categories/theme.php
index 7d468d0d..74ed61ed 100644
--- a/templates/themes/categories/theme.php
+++ b/templates/themes/categories/theme.php
@@ -36,7 +36,7 @@
public static function news($settings) {
global $config;
- $query = query("SELECT * FROM `news` ORDER BY `time` DESC") or error(db_error());
+ $query = query("SELECT * FROM ``news`` ORDER BY `time` DESC") or error(db_error());
$news = $query->fetchAll(PDO::FETCH_ASSOC);
return Element('themes/categories/news.html', Array(