if MySQL is in strict sql mode, a couple of files didn't pass that.
[fa-stable.git] / includes / db / comments_db.inc
index fd7af9c5e6991a6da98fd5be2c032628b07447ab..9a484da257b2600d91003ace891072e403396228 100644 (file)
@@ -30,7 +30,7 @@ function update_comments($type, $id, $date_, $memo_)
        if ($date_ == null)
        {
        delete_comments($type, $id);
-       add_comments($type, $id, '', $memo_);
+       add_comments($type, $id, Today(), $memo_);
        }
        else
        {