if (($row->misc != '') && ($params->get('googleshowinfo'))) { if ($params->get('longtext') == 0) { $miscg = eUTF::utf8_str_replace("'", "\'", $row->misc); } else { $miscg = eUTF::utf8_substr(str_replace("'", "\'", $row->misc),0,$params->get('longtext')) .'...'; } $miscg = str_replace('"', '\"', $miscg); $miscg = str_replace('/',"\/", $miscg); $miscg = str_replace(array("\n","\r","\t"),"",$miscg); }