1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Media-picker BC fixes.

This commit is contained in:
Cameron
2018-08-06 14:11:28 -07:00
parent f1a3e207db
commit 2a842bd3f4
2 changed files with 11 additions and 4 deletions

View File

@@ -1761,8 +1761,10 @@ class media_admin_ui extends e_admin_ui
$search = !empty($option['search']) ? $option['search'] : null;
$cat = ($category) ? $category."+" : ""; // the '+' loads category '_common' as well as the chosen category.
$images = e107::getMedia()->getImages($cat,$frm,$limit,$search);
// $cat = ($category) ? $category."+" : "";
$images = e107::getMedia()->getImages($category,$frm,$limit,$search);
foreach($images as $val)
{