Changeset 7681 for trunk/phpgwapi/inc/class.asyncservice.inc.php
- Timestamp:
- 12/19/12 16:44:18 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.asyncservice.inc.php
r6057 r7681 522 522 if ($exists || $this->read($job['id'])) 523 523 { 524 $this->db->query("UPDATE $this->db_table SET next= $job[next],times='$job[times]',".525 "method=' $job[method]',data='$job[data]',account_id=$job[account_id] WHERE id='$job[id]'",__LINE__,__FILE__);524 $this->db->query("UPDATE $this->db_table SET next={$job['next']},times='{$job['times']}',". 525 "method='{$job['method']}',data='{$job['data']}',account_id={$job['account_id']} WHERE id='{$job['id']}'",__LINE__,__FILE__); 526 526 } 527 527 else 528 528 { 529 529 $this->db->query("INSERT INTO $this->db_table (id,next,times,method,data,account_id) VALUES ". 530 "(' $job[id]',$job[next],'$job[times]','$job[method]','$job[data]',$job[account_id])",__LINE__,__FILE__);530 "('{$job['id']}',{$job['next']},'{$job['times']}','{$job['method']}','{$job['data']}',{$job['account_id']})",__LINE__,__FILE__); 531 531 } 532 532 }
Note: See TracChangeset
for help on using the changeset viewer.