cvs: pear /File_Gettext Gettext.php

From: Date: Mon, 18 Jul 2005 09:49:02 +0000
Subject: cvs: pear /File_Gettext Gettext.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-33108@lists.php.net to get a copy of this message
mike Mon Jul 18 05:49:02 2005 EDT Modified files: /pear/File_Gettext Gettext.php Log: - PHP4.4 compatibility patch by quipo http://cvs.php.net/diff.php/pear/File_Gettext/Gettext.php?r1=1.5&r2=1.6&ty=u Index: pear/File_Gettext/Gettext.php diff -u pear/File_Gettext/Gettext.php:1.5 pear/File_Gettext/Gettext.php:1.6 --- pear/File_Gettext/Gettext.php:1.5 Wed Mar 30 13:26:47 2005 +++ pear/File_Gettext/Gettext.php Mon Jul 18 05:49:02 2005 @@ -17,7 +17,7 @@ * @author Michael Wallner <mike@php.net> * @copyright 2004-2005 Michael Wallner * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: Gettext.php,v 1.5 2005/03/30 18:26:47 mike Exp $ + * @version CVS: $Id: Gettext.php,v 1.6 2005/07/18 09:49:02 mike Exp $ * @link http://pear.php.net/package/File_Gettext */ @@ -36,7 +36,7 @@ * ################################################################# * * @author Michael Wallner <mike@php.net> - * @version $Revision: 1.5 $ + * @version $Revision: 1.6 $ * @access public */ class File_Gettext @@ -87,7 +87,8 @@ return File_Gettext::raiseError($php_errormsg); } $class = 'File_Gettext_' . $format; - return new $class($file); + $obref = &new $class($file); + return $obref; } /**

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