Permalink
Browse files

fixed bug #12703: CacheLiteFunction decorator and getLang() issue

git-svn-id: http://svn.php.net/repository/pear/packages/Translation2/trunk@248390 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
quipo committed Dec 16, 2007
1 parent 67825b9 commit 612f6eba39435a6d1d6d77597ab4b7d093113a72
Showing with 20 additions and 7 deletions.
  1. +1 −1 Decorator/CacheLiteFunction.php
  2. +19 −6 package.xml
@@ -215,7 +215,7 @@ function setCacheOption($name, $value)
*/
function getLang($langID = null, $format = 'name')
{
- $langs = $this->getLangs();
+ $langs = $this->getLangs('array');
if (is_null($langID)) {
if (!isset($this->lang['id']) || !array_key_exists($this->lang['id'], $langs)) {
View
@@ -45,19 +45,18 @@ Currently, the following decorators are provided:
<email>mike@php.net</email>
<active>yes</active>
</developer>
- <date>2007-12-05</date>
- <time>22:11:30</time>
+ <date>2007-12-16</date>
+ <time>21:26:30</time>
<version>
- <release>2.0.0RC3</release>
- <api>2.0.0RC3</api>
+ <release>2.0.0RC4</release>
+ <api>2.0.0RC4</api>
</version>
<stability>
<release>beta</release>
<api>beta</api>
</stability>
<license uri="http://www.debian.org/misc/bsd.license">BSD</license>
- <notes>- fixed bug #12525: moved t2xmlchk.php script to / baseinstalldir
-- fixed bug #12527: rewritten CacheMemory Decorator to properly prefetch pages
+ <notes>- fixed bug #12703: CacheLiteFunction decorator and getLang() issue
</notes>
<contents>
<dir name="/">
@@ -192,6 +191,20 @@ Currently, the following decorators are provided:
</dependencies>
<phprelease />
<changelog>
+ <release>
+ <version>
+ <release>2.0.0RC4</release>
+ <api>2.0.0RC4</api>
+ </version>
+ <stability>
+ <release>beta</release>
+ <api>beta</api>
+ </stability>
+ <date>2007-12-16</date>
+ <license uri="http://www.debian.org/misc/bsd.license">BSD</license>
+ <notes>- fixed bug #12703: CacheLiteFunction decorator and getLang() issue
+ </notes>
+ </release>
<release>
<version>
<release>2.0.0RC3</release>

0 comments on commit 612f6eb

Please sign in to comment.