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 19:53:13 +0000

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

Log:
Fix folder path when we do a search in RepositoryTree

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 19:45:51 UTC (rev 291667)
+++ web/doc-editor/trunk/php/RepositoryFetcher.php	2009-12-03 19:53:13 UTC (rev 291668)
@@ -368,7 +368,7 @@
             $ext = array_pop(explode('.', $a->name));
             $files[] = array(
                 'text'      => $a->lang.$a->path.$a->name,
-                'id'        => '//'.$a->lang.$a->path.$a->name,
+                'id'        => '/'.$a->lang.$a->path.$a->name,
                 'leaf'      => true,
                 'cls'       => 'file',
                 'extension' => $ext,
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.