After posting comment for the first time in new disccusion, I receive DB error, but second time it goes by fine
What I did:
1) Created new discussion:
https://dev.vaultwiki.org/vb414/page...iscussionid=45
2) Wrote comment and tried to post it. First comment was fine.
3) Wrote second comment and when I tried to post it, received DB error:
Code:
Warning: mysqli_query(): (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY a.contentid, a.displayorder' at line 19 in /includes/class_core.php on line 1391
4) Went back (in browser), and tried to post it again. Everything went fine.
5) To test if it was a fluke, or something regular, did third comment. Again, when posting first time, DB error, second time everything fine.
Strange.
Comments are visible, you could try adding your comments. I also created second discussion. Now second comment (first comment is fine) needed three attempts to be posted.
Created third discussion. But, this is new bug report.