View.php
authorAlan Knowles <alan@roojs.com>
Thu, 8 Nov 2012 06:50:46 +0000 (14:50 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 8 Nov 2012 06:50:46 +0000 (14:50 +0800)
View.php

index ae9fdef..1473d9a 100644 (file)
--- a/View.php
+++ b/View.php
@@ -47,7 +47,7 @@ class Pman_Ftp_View extends Pman_Ftp_List
                     
                     $tidy->parseString($fc, array('indent'=>true), 'utf8');
                     $tidy->cleanRepair();
-                    $fc = $tidy->toString();
+                    $fc = (string)$tidy;
                 }    
                 echo '<PRE>'. htmlspecialchars($fc) . '</PRE>';
                 exit;