[emt] r238 committed - Fixed a style issue reported by kwayman that makes the code easier to ...

1 view
Skip to first unread message

e...@googlecode.com

unread,
Apr 2, 2012, 2:35:49 PM4/2/12
to emt...@googlegroups.com
Revision: 238
Author: eric....@gmail.com
Date: Mon Apr 2 11:34:40 2012
Log: Fixed a style issue reported by kwayman that makes the code
easier to extend in the future
http://code.google.com/p/emt/source/detail?r=238

Modified:
/trunk/base/field.php

=======================================
--- /trunk/base/field.php Sun Apr 1 21:40:09 2012
+++ /trunk/base/field.php Mon Apr 2 11:34:40 2012
@@ -67,10 +67,10 @@
}
else
{
- if ($this->type != 'tag')
- $this->value = round($val, $this->precision);
- else
+ if ($this->type == 'tag')
$this->value = $val;
+ else
+ $this->value = round($val, $this->precision);
}
}

Reply all
Reply to author
Forward
0 new messages