cvs: pear /DB_DataObject/DataObject Cast.php

From: Date: Sat, 12 Mar 2005 03:19:42 +0000
Subject: cvs: pear /DB_DataObject/DataObject Cast.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-30229@lists.php.net to get a copy of this message
alan_k Fri Mar 11 22:19:42 2005 EDT Modified files: /pear/DB_DataObject/DataObject Cast.php Log: fix bug #3761 - messed up datetime setting code in cast. http://cvs.php.net/diff.php/pear/DB_DataObject/DataObject/Cast.php?r1=1.8&r2=1.9&ty=u Index: pear/DB_DataObject/DataObject/Cast.php diff -u pear/DB_DataObject/DataObject/Cast.php:1.8 pear/DB_DataObject/DataObject/Cast.php:1.9 --- pear/DB_DataObject/DataObject/Cast.php:1.8 Mon Feb 28 04:54:07 2005 +++ pear/DB_DataObject/DataObject/Cast.php Fri Mar 11 22:19:42 2005 @@ -16,7 +16,7 @@ // | Authors: Alan Knowles <alan@akbkhome.com> | // +----------------------------------------------------------------------+ // -// $Id: Cast.php,v 1.8 2005/02/28 09:54:07 alan_k Exp $ +// $Id: Cast.php,v 1.9 2005/03/12 03:19:42 alan_k Exp $ // // Prototype Castable Object.. for DataObject queries // @@ -53,7 +53,7 @@ * * * -* @version $Id: Cast.php,v 1.8 2005/02/28 09:54:07 alan_k Exp $ +* @version $Id: Cast.php,v 1.9 2005/03/12 03:19:42 alan_k Exp $ */ class DB_DataObject_Cast { @@ -267,7 +267,7 @@ return false; } - $r = DB_DataObject_Cast($bits[0], $bits[1], $bits[2]); + $r = DB_DataObject_Cast::date($bits[0], $bits[1], $bits[2]); if (!$r) { return $r; // pass thru error (False) - doesnt happen at present! }

« previous php.pear.cvs (#30229) next »