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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Sun, 27 Dec 2009 13:30:09 +0000

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

Log:
Fix BugReader when there is no more bug to display

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

Modified: web/doc-editor/trunk/php/ExtJsController.php
===================================================================
--- web/doc-editor/trunk/php/ExtJsController.php	2009-12-27 11:37:12 UTC (rev 292689)
+++ web/doc-editor/trunk/php/ExtJsController.php	2009-12-27 13:30:09 UTC (rev 292690)
@@ -390,7 +390,7 @@
         $bugs = new BugReader(AccountManager::getInstance()->vcsLang);
         $r = $bugs->getOpenBugs();

-        if( !$r ) {
+        if( $r === false ) {
             return JsonResponseBuilder::failure();
         } else {
             return JsonResponseBuilder::success(
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.