Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
Some internal debugging got missed, causing random responses to be
processed incorrectly.
  • Loading branch information
Dave-Morton committed Mar 26, 2015
1 parent 354cad1 commit 21ad8e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chatbot/conversation_start.php
Expand Up @@ -139,8 +139,8 @@
//add any pre-processing addons

$rawSay = $say;
//$say = normalize_text($say);
$say = run_pre_input_addons($convoArr, $say);
$say = normalize_text($say);
/** @noinspection PhpUndefinedVariableInspection */
$bot_id = (isset($form_vars['bot_id'])) ? $form_vars['bot_id'] : $bot_id;
runDebug(__FILE__, __FUNCTION__, __LINE__, "Details:\nUser say: " . $say . "\nConvo id: " . $convo_id . "\nBot id: " . $bot_id . "\nFormat: " . $form_vars['format'], 2);
Expand Down

0 comments on commit 21ad8e0

Please sign in to comment.