diff -u -r yasuck-0.0.4.orig/docs/ChangeLog yasuck-0.0.4/docs/ChangeLog --- yasuck-0.0.4.orig/docs/ChangeLog 2004-09-24 00:51:31.000000000 -0500 +++ yasuck-0.0.4/docs/ChangeLog 2004-09-24 01:10:01.991272264 -0500 @@ -4,6 +4,12 @@ *yasuck-0.0.4 (19 Sep 2004) + 24 Sep 2004: Mike Green docs/ChangeLog, + includes/app.functions.php, yasuck, patch-0.0.4-02: + + Fixed typo that was causing updates to fail, added call to sanityCheck() + that should have been there all along! + 24 Sep 2004: Mike Green docs/AUTHORS, docs/ChangeLog, docs/README, includes/app.functions.php, includes/globals.php, yasuck, patch-0.0.4-01: diff -u -r yasuck-0.0.4.orig/includes/app.functions.php yasuck-0.0.4/includes/app.functions.php --- yasuck-0.0.4.orig/includes/app.functions.php 2004-09-24 00:45:58.000000000 -0500 +++ yasuck-0.0.4/includes/app.functions.php 2004-09-24 01:07:37.332263776 -0500 @@ -1042,7 +1042,7 @@ $sql = "update " . DBN . ".message_ids set board_id=$board_id"; $sql .= ",poster_id=$poster_id,parent_id=$parent_id,"; $sql .= "thread_id=$thread_id,message_date='$ds',"; - $sql .= "message_text='$msgtext',message_subject='$subject' "; + $sql .= "message_text='$msgtext',message_subject='$subject',"; $sql .= "message_recs=$msg_recs "; $sql .= "where board_id=$board_id and message_id=$message_id "; $sql .= "limit 1"; diff -u -r yasuck-0.0.4.orig/yasuck yasuck-0.0.4/yasuck --- yasuck-0.0.4.orig/yasuck 2004-09-24 00:45:39.000000000 -0500 +++ yasuck-0.0.4/yasuck 2004-09-24 01:06:53.272961808 -0500 @@ -8,6 +8,7 @@ require_once("includes/globals.php"); // process command line arguments checkArgs($argv); +sanityCheck(); CheckDatabase(); // query the sid