Skip to content

Commit

Permalink
Fix reversed test.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.php.net/repository/pear/packages/Translation2/trunk@217128 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information
Ian Eure committed Jul 27, 2006
1 parent 1026aef commit 2797161
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Admin/Decorator/Autoadd.php
Expand Up @@ -90,7 +90,7 @@ function get($stringID, $pageID = TRANSLATION2_DEFAULT_PAGEID, $langID = null)
if (PEAR::isError($string)
|| !strlen($string)
&& !empty($this->autoaddlang)
&& $langID != $this->autoaddlang) {
&& $langID == $this->autoaddlang) {
// Make sure we add a stub for all languages we know about.
$langs = array();
foreach ($this->translation2->getLangs('ids') as $lang) {
Expand Down

0 comments on commit 2797161

Please sign in to comment.