mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/15342] Fix sql condition
PHPBB3-15342
This commit is contained in:
parent
3ed63388b4
commit
522ff2f792
1 changed files with 2 additions and 1 deletions
|
@ -305,7 +305,8 @@ class storage
|
|||
{
|
||||
$sql = 'UPDATE ' . $this->storage_table . "
|
||||
SET file_path = '" . $path_dest . "'
|
||||
WHERE file_path = '" . $path_orig . "'";
|
||||
WHERE file_path = '" . $path_orig . "'
|
||||
AND storage = '" . $this->storage_name . "'";
|
||||
$this->db->sql_query($sql);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue