cvs: pear /Translation2 Translation2.php
| From: | Ian Eure | Date: | Fri, 05 Nov 2004 03:02:49 +0000 |
| Subject: | cvs: pear /Translation2 Translation2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-25691@lists.php.net to get a copy of this message | ||
ieure Thu Nov 4 22:02:49 2004 EDT
Modified files:
/pear/Translation2 Translation2.php
Log:
fix getStringID()
http://cvs.php.net/diff.php/pear/Translation2/Translation2.php?r1=1.20&r2=1.21&ty=u
Index: pear/Translation2/Translation2.php
diff -u pear/Translation2/Translation2.php:1.20 pear/Translation2/Translation2.php:1.21
--- pear/Translation2/Translation2.php:1.20 Sat Oct 30 09:58:58 2004
+++ pear/Translation2/Translation2.php Thu Nov 4 22:02:49 2004
@@ -16,11 +16,11 @@
// | Authors: Lorenzo Alberton <l dot alberton at quipo dot it> |
// +----------------------------------------------------------------------+
//
-// $Id: Translation2.php,v 1.20 2004/10/30 13:58:58 mike Exp $
+// $Id: Translation2.php,v 1.21 2004/11/05 03:02:49 ieure Exp $
//
/**
* @package Translation2
- * @version $Id: Translation2.php,v 1.20 2004/10/30 13:58:58 mike Exp $
+ * @version $Id: Translation2.php,v 1.21 2004/11/05 03:02:49 ieure Exp $
*/
/**
@@ -460,7 +460,7 @@
function getStringID($string, $pageID=TRANSLATION2_DEFAULT_PAGEID)
{
if ($pageID == TRANSLATION2_DEFAULT_PAGEID) {
- $pageID = $this->translation2->currentPageID;
+ $pageID = $this->currentPageID;
}
return $this->storage->getStringID($string, $pageID);
}