JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
moved read_whole_file() to file no file.php. tar.php uses rsync, and supports links
[wfpl.git] / format.php
index 1bac609..a658dbb 100644 (file)
@@ -52,10 +52,10 @@ function format_unix($str) {
 }
 
 function format_yesno($str) {
-       if($str) {
-               return "Yes";
+       if($str && $str != 'No') {
+               return 'Yes';
        } else {
-               return "No";
+               return 'No';
        }
 }