Fixed tiny bug. Forgot to add "
authorArtem Daniliants <artem@daniliants.com>
Wed, 28 Apr 2010 09:47:30 +0000 (12:47 +0300)
committerArtem Daniliants <artem@daniliants.com>
Wed, 28 Apr 2010 09:47:30 +0000 (12:47 +0300)
Server/application/views/api/results.php

index 01ab1a8..6d0592a 100644 (file)
@@ -1,5 +1,5 @@
 <?php echo "<?"; ?>xml version="1.0" encoding="utf-8" <?php echo "?>"; ?>
 
 <results>
 <?php echo "<?"; ?>xml version="1.0" encoding="utf-8" <?php echo "?>"; ?>
 
 <results>
-    <?php $i=1; foreach ($results as $r){ ?>   <result username="<?php echo $r->username; ?>" position="<?php echo $i; ?>" date="<?php echo $r->result_date; ?>" <?php if (isset($show_unit) AND $show_unit==false) echo 'unit='.$r->unit.'" '; ?>value="<?php echo $r->value; ?>" />
-<?php $i++; } ?></results>
\ No newline at end of file
+    <?php $i=1; foreach ($results as $r){ ?>   <result username="<?php echo $r->username; ?>" position="<?php echo $i; ?>" date="<?php echo $r->result_date; ?>" <?php if (isset($show_unit) AND $show_unit==false) echo 'unit="'.$r->unit.'" '; ?>value="<?php echo $r->value; ?>" />
+<?php $i++; } ?></results>