includes/pageutils.php
changeset 39 c83ff194977a
parent 32 4d87aad3c4c0
child 40 723bb7acf914
--- a/includes/pageutils.php	Mon Jul 02 15:17:54 2007 -0400
+++ b/includes/pageutils.php	Mon Jul 02 20:33:57 2007 -0400
@@ -1366,7 +1366,7 @@
     }
     else
     {
-      return(Array('mode' => 'error', 'error' => $dir.' is not a dir'));
+      return($json->encode(Array('mode' => 'error', 'error' => $dir.' is not a dir')));
     }
     
     return $json->encode($list);