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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Thu, 17 Dec 2009 23:29:53 +0000

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

Log:
Fix bug with the conf var

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	2009-12-17 22:57:44 UTC (rev 292275)
+++ web/doc-editor/trunk/php/ToolsError.php	2009-12-17 23:29:53 UTC (rev 292276)
@@ -182,7 +182,7 @@
      */
     function getFilesError($ModifiedFiles) {

-        if ($_SESSION['userConf']['errorSkipNbLiteralTag'] == 'true' ) {
+        if ($_SESSION['userConf']->errorSkipNbLiteralTag ) {
             $type = ' type != \'nbLiteralTag\' AND ';
         } else {
             $type = '';
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.