mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-12 02:25:18 +02:00
[ticket/15342] Fix sql condition
PHPBB3-15342
This commit is contained in:
parent
3ed63388b4
commit
522ff2f792
@ -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…
x
Reference in New Issue
Block a user