svn: /web/doc-editor/trunk/php/ GTranslate.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sat, 13 Mar 2010 17:33:37 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=296150

Log:
Fix warning

Changed paths:
    U   web/doc-editor/trunk/php/GTranslate.php

Modified: web/doc-editor/trunk/php/GTranslate.php
===================================================================
--- web/doc-editor/trunk/php/GTranslate.php	2010-03-13 16:38:22 UTC (rev 296149)
+++ web/doc-editor/trunk/php/GTranslate.php	2010-03-13 17:33:37 UTC (rev 296150)
@@ -281,7 +281,7 @@
             // Wrapper to $langTo for google API
             $notFound["pt_BR"] = "pt"; // Bug #51287 by moacir

-            if( $notFound[$langTo] ) {
+            if( isset($notFound[$langTo]) ) {
                       $langTo = $notFound[$langTo];
             }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.