release 0.267: front layout/basket fixes and product redirect hardening
This commit is contained in:
BIN
updates/0.20/ver_0.267.zip
Normal file
BIN
updates/0.20/ver_0.267.zip
Normal file
Binary file not shown.
2
updates/0.20/ver_0.267_files.txt
Normal file
2
updates/0.20/ver_0.267_files.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
F: ../apilo-bck
|
||||
F: ../geocode-cache.php
|
||||
11
updates/0.20/ver_0.267_sql.txt
Normal file
11
updates/0.20/ver_0.267_sql.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
DELETE r1 FROM pp_redirects r1
|
||||
INNER JOIN pp_redirects r2
|
||||
ON r1.`from` = r2.`from`
|
||||
AND (r1.lang_id <=> r2.lang_id)
|
||||
AND (
|
||||
IFNULL(r1.date_add, '1000-01-01 00:00:00') < IFNULL(r2.date_add, '1000-01-01 00:00:00')
|
||||
OR (
|
||||
IFNULL(r1.date_add, '1000-01-01 00:00:00') = IFNULL(r2.date_add, '1000-01-01 00:00:00')
|
||||
AND r1.id < r2.id
|
||||
)
|
||||
);
|
||||
Reference in New Issue
Block a user