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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Tue, 02 Aug 2011 17:45:19 +0000

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

Log:
Fix typo into the query who fetch all errors

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

Modified: web/doc-editor/trunk/php/ToolsError.php
===================================================================
--- web/doc-editor/trunk/php/ToolsError.php	2011-08-02 17:21:47 UTC (rev 314119)
+++ web/doc-editor/trunk/php/ToolsError.php	2011-08-02 17:45:19 UTC (rev 314120)
@@ -223,12 +223,12 @@
              FROM
                 `errorfiles`
              WHERE
-                ' . $type . '
+                '.$type.'
                 `project`=  "%s" AND
                 `lang`   =  "%s" AND
                 `type`   != "-No error-"';
+
         $params = array(
-            $type,
             $project,
             $this->lang
         );
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.