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

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Fri, 04 Dec 2009 07:00:19 +0000

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

Log:
Fix varname

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

Modified: web/doc-editor/trunk/php/RepositoryManager.php
===================================================================
--- web/doc-editor/trunk/php/RepositoryManager.php	2009-12-04 06:58:24 UTC (rev 291689)
+++ web/doc-editor/trunk/php/RepositoryManager.php	2009-12-04 07:00:19 UTC (rev 291690)
@@ -504,8 +504,8 @@
                 $en        = new File('en', $file->path, $file->name);
                 $enInfo    = $en->getInfo();

-                $sizeEN    = intval(filesize($enInfo->full_path) / 1024);
-                $dateEN    = filemtime($enInfo->full_path);
+                $sizeEN    = intval(filesize($en->full_path) / 1024);
+                $dateEN    = filemtime($en->full_path);

                 $size_diff = $sizeEN - $size;
                 $date_diff = (intval((time() - $dateEN) / 86400))
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.