Download & Extend

[patch] Incorrect SQL code in function casetracker_case_state_save

Project:Case Tracker
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:zero2one
Status:closed (fixed)

Issue Summary

function casetracker_case_state_save() executes invalid SQL code:

db_query("INSERT INTO {casetracker_case_states} SET case_state_name = '%s', case_state_realm = '%s'", $case_state['name'], $case_state['realm']);

I don't know if this is valid for mysql but this is not valid according to SQL standard.

AttachmentSize
casetracker.module.diff815 bytes

Comments

#1

Assigned to:Anonymous» zero2one
Status:active» fixed

Is fixed in http://drupal.org/cvs?commit=85845

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here