1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Fixes #930 - backticks in listQry of gallery plugin admin

This commit is contained in:
Tijn Kuyper 2015-10-24 14:56:15 +02:00
parent efa345e8f2
commit 4baccf9a80

View File

@ -105,7 +105,7 @@ class gallery_cat_admin_ui extends e_admin_ui
protected $perPage = 10; //no limit
protected $listOrder = 'media_cat_order';
protected $listQry = "SELECT * FROM #core_media_cat WHERE media_cat_owner = 'gallery' "; // without any Order or Limit.
protected $listQry = "SELECT * FROM `#core_media_cat` WHERE media_cat_owner = 'gallery' "; // without any Order or Limit.
// protected $listQry = "SELECT * FROM #core_media "; // without any Order or Limit.
// protected $editQry = "SELECT * FROM #faq_info WHERE faq_info_id = {ID}";