Opened 6 years ago

Closed 6 years ago

#5302 closed defect (bug) (fixed)

upload breaks

Reported by: pizzamx Owned by: anonymous
Priority: normal Milestone: 2.5
Component: General Version: 2.5
Severity: normal Keywords: upload sql has-patch
Cc:

Description

Upload function breaks when creating a new post or editing an existing post. The file *did* get uploaded, and the problem occurs when trying to modify the database:

WordPress database error: [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 
'WHERE ID = '3' LIMIT 1' at line 1]
UPDATE wp2_posts SET WHERE ID = '3' LIMIT 1

ps., tested on a fresh copy checked out from trunk

Attachments (1)

5302.diff (515 bytes) - added by DD32 6 years ago.
fix typo

Download all attachments as: .zip

Change History (3)

DD326 years ago

fix typo

comment:1   DD326 years ago

  • Keywords has-patch added

comment:2   ryan6 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [6304]) Typo fix from DD32. Fixes uploads. fixes #5302

Note: See TracTickets for help on using tickets.