Commit 9131746f authored by Nico Schallehn's avatar Nico Schallehn

test

parent 59e76928
......@@ -103,8 +103,8 @@ class MediaDBAPI{
}
if(isset($GET_arr['Suche'])){
/* Work a round für Android 5 Geräte*/
$SucheWort = json_decode('"'.$GET_arr['Suche'].'"');
$SucheWort = str_replace("\u00e4", "ä", $SucheWort);
$SucheWort = utf8_decode('"'.$GET_arr['Suche'].'"');
/*$SucheWort = str_replace("\u00e4", "ä", $SucheWort);
$SucheWort = str_replace("\u00f6", "ö", $SucheWort);
$SucheWort = str_replace("\u00fc", "ü", $SucheWort);
$SucheWort = str_replace("\u00c4", "Ä", $SucheWort);
......@@ -117,7 +117,7 @@ class MediaDBAPI{
$SucheWort = str_replace("%C3%84", "Ä", $SucheWort);
$SucheWort = str_replace("%C3%96", "Ö", $SucheWort);
$SucheWort = str_replace("%C3%9C", "Ü", $SucheWort);
*/
$Suche = " (`name` LIKE '%".$SucheWort."%' OR `md5` LIKE '%".$SucheWort."%' OR `comment` LIKE '%".$SucheWort."%')";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment