fix: remove superfluous comma, fixing sql syntax error (#77)
Removed an incorrect comma in the logic for updating the wish URL, which previously caused an Internal Server Error due to an SQL syntax error.
This commit is contained in:
parent
a919bcec33
commit
b8ca7786ce
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ switch ($_SERVER['REQUEST_METHOD']) {
|
|||
*/
|
||||
$database->query(
|
||||
'UPDATE `wishes`
|
||||
SET `url` = :wish_url_proposed,
|
||||
SET `url` = :wish_url_proposed
|
||||
WHERE `url` = :wish_url_current',
|
||||
array(
|
||||
'wish_url_proposed' => Sanitiser::getURL($_PUT['wish_url_proposed']),
|
||||
|
|
Loading…
Reference in a new issue