[geeklog-cvs] Geeklog-1.x/public_html lib-common.php,1.695,1.696

Dirk Haun dhaun at qs1489.pair.com
Sat May 10 03:56:43 EDT 2008


Update of /cvsroot/geeklog/Geeklog-1.x/public_html
In directory qs1489.pair.com:/tmp/cvs-serv71182/public_html

Modified Files:
	lib-common.php 
Log Message:
COM_numberFormat should use floor, not abs (bug #0000624)


Index: lib-common.php
===================================================================
RCS file: /cvsroot/geeklog/Geeklog-1.x/public_html/lib-common.php,v
retrieving revision 1.695
retrieving revision 1.696
diff -C2 -d -r1.695 -r1.696
*** lib-common.php	7 May 2008 18:48:17 -0000	1.695
--- lib-common.php	10 May 2008 07:56:41 -0000	1.696
***************
*** 5932,5936 ****
      global $_CONF;
  
!     if( $number - abs( $number ) > 0 ) // number has decimals
      {
          $dc = $_CONF['decimal_count'];
--- 5932,5936 ----
      global $_CONF;
  
!     if( $number - floor( $number ) > 0 ) // number has decimals
      {
          $dc = $_CONF['decimal_count'];




More information about the geeklog-cvs mailing list