liquid_feedback_core

changeset 403:236cabef04d2

Fixed syntax error in SQL command in lf_update_issue_order.c
author jbe
date Sun Oct 13 21:37:24 2013 +0200 (2013-10-13)
parents 29835e2525bd
children c67971a3adaa
files lf_update_issue_order.c
line diff
     1.1 --- a/lf_update_issue_order.c	Sat Oct 12 18:58:51 2013 +0200
     1.2 +++ b/lf_update_issue_order.c	Sun Oct 13 21:37:24 2013 +0200
     1.3 @@ -308,7 +308,7 @@
     1.4          fprintf(stderr, "Could not escape literal in memory.\n");
     1.5          abort();
     1.6        }
     1.7 -      if (asprintf(&cmd, "UPDATE \"issue_order\" SET \"order_in_open_states\" = %i WHERE \"id\" = %s)", open_issues[i].position, escaped_issue_id) < 0) {
     1.8 +      if (asprintf(&cmd, "UPDATE \"issue_order\" SET \"order_in_open_states\" = %i WHERE \"id\" = %s", open_issues[i].position, escaped_issue_id) < 0) {
     1.9          fprintf(stderr, "Could not prepare query string in memory.\n");
    1.10          abort();
    1.11        }

Impressum / About Us