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

[email protected] (Alexander Moskaliov)
Newsgroups php.doc.web
Message-ID <[email protected]>
irker                                    Fri, 02 Sep 2011 07:18:24 +0000

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

Log:
Fix wrong "no translated" files size computation

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

Modified: web/doc-editor/trunk/php/TranslationStatistic.php
===================================================================
--- web/doc-editor/trunk/php/TranslationStatistic.php	2011-09-02 06:23:52 UTC (rev 316020)
+++ web/doc-editor/trunk/php/TranslationStatistic.php	2011-09-02 07:18:24 UTC (rev 316021)
@@ -180,7 +180,7 @@

         // We get EN files

-       $s = 'SELECT * FROM files WHERE `lang`="en" AND `project`="$project"';
+       $s = 'SELECT * FROM files WHERE `lang`="en" AND `project`="%s"';
        $params = array($project);
        $r = $this->conn->query($s, $params);
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.