Skip to content
Snippets Groups Projects
Commit 76f813ab authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Bug behoben, bei dem eine Funktion mit leerem String aufgerufen wurde

parent 6e665c98
No related branches found
No related tags found
2 merge requests!117Bugfix,!116Bugfix
......@@ -81,6 +81,8 @@ class Result
#die($tmpLi . "<br>" . $link . "<br>" . $tmpEingabe . "<br><br>");
foreach(str_split($tmpEingabe) as $char)
{
if( !$char || !$tmpEingabe || strlen($tmpEingabe) === 0 || strlen($char) === 0 )
continue;
if(strpos(strtolower($tmpLink), strtolower($char)) >= 0)
{
$count++;
......
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