summaryrefslogtreecommitdiffstats
path: root/apis
diff options
context:
space:
mode:
authorJonathan Bauer2014-12-12 18:26:40 +0100
committerJonathan Bauer2014-12-12 18:26:40 +0100
commit34c39b6e3b0f6821cf2e766defd0e63a3015dcd2 (patch)
treef671bebb7cdb5de2454fa6d0ba23668466904556 /apis
parentForgot to bump version in sqldump (diff)
downloadslx-admin-34c39b6e3b0f6821cf2e766defd0e63a3015dcd2.tar.gz
slx-admin-34c39b6e3b0f6821cf2e766defd0e63a3015dcd2.tar.xz
slx-admin-34c39b6e3b0f6821cf2e766defd0e63a3015dcd2.zip
[news] fix xml tags of news api
Diffstat (limited to 'apis')
-rw-r--r--apis/news.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apis/news.inc.php b/apis/news.inc.php
index 2c7e2654..ace41b21 100644
--- a/apis/news.inc.php
+++ b/apis/news.inc.php
@@ -11,9 +11,9 @@ if ($row !== false ) {
echo "\t" . '<headline>' . "\n";
echo "\t\t" . $row['title'] . "\n";
echo "\t" . '</headline>' . "\n";
- echo "\t" . "<content>" . "\n";
+ echo "\t" . "<info>" . "\n";
echo "\t\t" . $row['content'] . "\n";
- echo "\t" . '</content>' . "\n";
+ echo "\t" . '</info>' . "\n";
echo "\t" . "<date>" . "\n";
echo "\t\t" . $row['dateline'] . "\n";
echo "\t" . "</date>" . "\n";