You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.) Corrected a bug where certain AIML categories that contain Unicode
characters were being rejected
2.) (not really a bug) Streamlined the SQL query to eliminate extra
elements that aren't necessary in most situations
$topic_select = "(`topic`='') OR (`topic`='$storedtopic')";
787
+
}
788
+
else$topic_select = "`topic`=''";
783
789
if ($word_count == 1)
784
790
{
785
791
//if there is one word do this
@@ -801,7 +807,7 @@ function find_aiml_matches($convoArr)
801
807
($sql_add) OR
802
808
(`pattern` = '$aiml_pattern' ))
803
809
AND ((`thatpattern` = '_') OR (`thatpattern` = '*') OR (`thatpattern` = '') OR (`thatpattern` like '%') OR (`thatpattern` = '$lastthat') $thatPatternSQL )
804
-
AND ((`topic`='') OR (`topic`='$storedtopic')));";
0 commit comments