svn: /web/doc-editor/trunk/php/ TranslationStatistic.php class.php

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Thu, 29 Oct 2009 06:40:16 +0000

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

Log:
fix stats on files

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

Modified: web/doc-editor/trunk/php/TranslationStatistic.php
===================================================================
--- web/doc-editor/trunk/php/TranslationStatistic.php	2009-10-29 06:09:16 UTC (rev 290047)
+++ web/doc-editor/trunk/php/TranslationStatistic.php	2009-10-29 06:40:16 UTC (rev 290048)
@@ -147,7 +147,7 @@
             AND
                 b.lang="en"
             AND
-                a.revision is NULL
+                (a.revision is NULL OR a.revision = 0)
             AND
                 a.size is NULL';
         $result = DBConnection::getInstance()->query($s);
@@ -183,7 +183,7 @@
             AND
                 b.lang="en"
             AND
-                a.revision is NULL
+                (a.revision is NULL OR a.revision=0)
             AND
                 a.size is NULL';
         $result = DBConnection::getInstance()->query($s);

Modified: web/doc-editor/trunk/php/class.php
===================================================================
--- web/doc-editor/trunk/php/class.php	2009-10-29 06:09:16 UTC (rev 290047)
+++ web/doc-editor/trunk/php/class.php	2009-10-29 06:40:16 UTC (rev 290048)
@@ -1370,7 +1370,7 @@
             AND
                 b.lang="en"
             AND
-                a.revision is NULL
+                (a.revision is NULL OR a.revision = 0)
             AND
                 a.size is NULL', $this->cvsLang);
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.