[geeklog-cvs] geeklog-1.3/public_html lib-common.php,1.417,1.418
vinny at iowaoutdoors.org
vinny at iowaoutdoors.org
Wed Feb 23 13:48:19 EST 2005
Update of /var/cvs/geeklog-1.3/public_html
In directory www:/tmp/cvs-serv15900/public_html
Modified Files:
lib-common.php
Log Message:
COM_applyFilter will now accept negative numbers when isnumeric is set to true
Index: lib-common.php
===================================================================
RCS file: /var/cvs/geeklog-1.3/public_html/lib-common.php,v
retrieving revision 1.417
retrieving revision 1.418
diff -C2 -d -r1.417 -r1.418
*** lib-common.php 20 Feb 2005 09:54:09 -0000 1.417
--- lib-common.php 23 Feb 2005 18:48:17 -0000 1.418
***************
*** 5183,5187 ****
{
// Note: PHP's is_numeric() accepts values like 4e4 as numeric
! if( !is_numeric( $p ) || ( preg_match( '/^([0-9]+)$/', $p ) == 0 ))
{
$p = 0;
--- 5183,5187 ----
{
// Note: PHP's is_numeric() accepts values like 4e4 as numeric
! if( !is_numeric( $p ) || ( preg_match( '/^-?\d+$/', $p ) == 0 ))
{
$p = 0;
More information about the geeklog-cvs
mailing list