make multi tag search not break on space

git-svn-id: file:///home/shish/svn/shimmie2/trunk@454 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-08-08 06:24:25 +00:00
parent 5444810cae
commit 8009aa3fa8

View File

@ -398,9 +398,9 @@ function _get_query_parts() {
$n++; $n++;
} }
*/ */
$path = str_replace('/', ' ', $path); $path = str_replace('/', '%%', $path);
$path = str_replace(' ', '/', $path); $path = str_replace('%%%%', '/', $path);
$parts = split(' ', $path); $parts = split('%%', $path);
return $parts; return $parts;
} }