cvs: pear /Translation2 Translation2.php

From: Date: Thu, 02 Sep 2004 13:21:12 +0000
Subject: cvs: pear /Translation2 Translation2.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-23579@lists.php.net to get a copy of this message
quipo Thu Sep 2 09:21:12 2004 EDT Modified files: /pear/Translation2 Translation2.php Log: check for errors http://cvs.php.net/diff.php/pear/Translation2/Translation2.php?r1=1.14&r2=1.15&ty=u Index: pear/Translation2/Translation2.php diff -u pear/Translation2/Translation2.php:1.14 pear/Translation2/Translation2.php:1.15 --- pear/Translation2/Translation2.php:1.14 Mon May 3 18:54:57 2004 +++ pear/Translation2/Translation2.php Thu Sep 2 09:21:12 2004 @@ -16,11 +16,11 @@ // | Authors: Lorenzo Alberton <l dot alberton at quipo dot it> | // +----------------------------------------------------------------------+ // -// $Id: Translation2.php,v 1.14 2004/05/03 22:54:57 quipo Exp $ +// $Id: Translation2.php,v 1.15 2004/09/02 13:21:12 quipo Exp $ // /** * @package Translation2 - * @version $Id: Translation2.php,v 1.14 2004/05/03 22:54:57 quipo Exp $ + * @version $Id: Translation2.php,v 1.15 2004/09/02 13:21:12 quipo Exp $ */ /** @@ -371,6 +371,9 @@ { $pageID = ($pageID == TRANSLATION2_DEFAULT_PAGEID ? $this->currentPageID : $pageID); $str = $this->storage->getOne($stringID, $pageID, $langID); + if (PEAR::isError($str)) { + return $str; + } return $this->_replaceParams($str); }

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