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

Bugfix bei dem manche Funktionen mit einem leeren String aufgerufen wurden.

parent b8de9e0b
No related branches found
No related tags found
2 merge requests!119Bugfix,!118Bugfix
...@@ -106,6 +106,8 @@ class Result ...@@ -106,6 +106,8 @@ class Result
#die($tmpEingabe); #die($tmpEingabe);
foreach(explode(" ", trim($tmpEingabe)) as $el) foreach(explode(" ", trim($tmpEingabe)) as $el)
{ {
if( strlen($tmpTitle) === 0 || strlen($el) === 0 || strlen($tmpDescription) === 0 )
continue;
$el = preg_quote($el, "/"); $el = preg_quote($el, "/");
if(strlen($tmpTitle) > 0) if(strlen($tmpTitle) > 0)
{ {
......
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