Skip to content
Snippets Groups Projects
Commit 493a6929 authored by KobaYY's avatar KobaYY
Browse files

UTF-8 fix for getRevisions

darcs-hash:20050630205337-d0e47-40abf0e684d6636063b770a86524568cc93dae88.gz
parent 964f2798
No related branches found
No related tags found
No related merge requests found
......@@ -670,6 +670,7 @@ function getRevisions($id){
$revs = array();
$clid = cleanID($id);
if(strrpos($clid,':')) $clid = substr($clid,strrpos($clid,':')+1); //remove path
$clid = utf8_encodeFN($clid);
if (is_dir($revd) && $dh = opendir($revd)) {
while (($file = readdir($dh)) !== false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment