Pesky carriage returns

This commit is contained in:
Ciaran Gultnieks committed 2012-03-03 11:01:41 +00:00
1 parent f9fd11035c
commit 583f8c5b95
1 file changed
+1 -1
+1 -1
View File
@@ -470,7 +470,7 @@ class FDroid
$handle = fopen(getenv('DOCUMENT_ROOT').'/repo/categories.txt', 'r');
if ($handle) {
while (($buffer = fgets($handle, 4096)) !== false) {
$categories[] = $buffer;
$categories[] = rtrim($buffer);
}
fclose($handle);
}