chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9fd110
)
Pesky carriage returns
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Sat, 3 Mar 2012 11:01:41 +0000
(11:01 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Sat, 3 Mar 2012 11:01:41 +0000
(11:01 +0000)
wp-fdroid/wp-fdroid.php
patch
|
blob
|
history
diff --git
a/wp-fdroid/wp-fdroid.php
b/wp-fdroid/wp-fdroid.php
index cba67e648fbc4a93c2db44054c31198ea093d150..21bc3e8cbbfad0f862e31415a63cd2f46b60e981 100644
(file)
--- a/
wp-fdroid/wp-fdroid.php
+++ b/
wp-fdroid/wp-fdroid.php
@@
-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);
}