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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Tue, 08 Feb 2011 06:20:38 +0000

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

Log:
fix notice on date index

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	2011-02-08 02:55:50 UTC (rev 308116)
+++ web/doc-editor/trunk/php/RepositoryFetcher.php	2011-02-08 06:20:38 UTC (rev 308117)
@@ -843,7 +843,7 @@

                 // We now walk into patches for this users.
                 while( list($patch, $dataPatch) = each($patchs)) {
-                    $result .= "{task:'".$patch."',type:'patch',iconCls:'iconPatch',expanded:true,creationDate:'".$dataPatch["date"]."',draggable: false, idDB:".$dataPatch["idDB"].", children:[";
+                    $result .= "{task:'".$patch."',type:'patch',iconCls:'iconPatch',expanded:true,creationDate:'".( (isset($dataPatch["date"])) ? $dataPatch["date"] : ''  )."',draggable: false, idDB:".$dataPatch["idDB"].", children:[";

                     // We now walk into the folders for this patch
                     while( list($folder, $dataFiles) = each($dataPatch['folders'])) {
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.