mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-06 08:43:31 +02:00
Escape rank column name as rank
Reported in https://piwigo.org/forum/viewtopic.php?pid=181750#p181750
This commit is contained in:
committed by
Pierrick Le Gall
parent
25f70443e8
commit
a36a84fef6
+1
-1
@@ -131,7 +131,7 @@ $template->assign('delay_before_autoOpen', $conf['album_move_delay_before_auto_o
|
||||
|
||||
//Get all albums
|
||||
$query = '
|
||||
SELECT id,name,rank,status, uppercats
|
||||
SELECT id,name,`rank`,status, uppercats
|
||||
FROM '.CATEGORIES_TABLE.'
|
||||
;';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user