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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Thu, 03 Dec 2009 14:33:04 +0000

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

Log:
Fix var in getModifiesById()

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

Modified: web/doc-editor/trunk/php/RepositoryFetcher.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryFetcher.php	2009-12-03 14:28:42 UTC (rev 291647)
+++ web/doc-editor/trunk/php/RepositoryFetcher.php	2009-12-03 14:33:04 UTC (rev 291648)
@@ -75,7 +75,7 @@
      */
     public function getModifiesById($id)
     {
-        $ids = is_array($id) ? implode($id, ',') : id;
+        $ids = is_array($id) ? implode($id, ',') : $id;

         $s = sprintf(
             'SELECT * FROM `pendingCommit` WHERE
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.