projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed XML parsing error
[speedfreak]
/
Server
/
application
/
views
/
api
/
categories.php
diff --git
a/Server/application/views/api/categories.php
b/Server/application/views/api/categories.php
index
334f4ea
..
aec137b
100644
(file)
--- a/
Server/application/views/api/categories.php
+++ b/
Server/application/views/api/categories.php
@@
-1,4
+1,4
@@
-<?php echo "<?"; ?>xml version="1.0" encoding="utf-8" <?php echo "?>"; ?>
+<?php echo '<?xml version="1.0" encoding="utf-8"?>'; ?>
<categories>
<?php foreach ($categories as $k){ ?> <category description="<?php echo $k->description; ?>" unit="<?php echo $k->unit; ?>"><?php echo $k->slug; ?></category>
<categories>
<?php foreach ($categories as $k){ ?> <category description="<?php echo $k->description; ?>" unit="<?php echo $k->unit; ?>"><?php echo $k->slug; ?></category>