1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-12 09:34:54 +02:00

Fixes #2251 - Theme Manager theme info fix.

This commit is contained in:
Cameron
2017-01-06 13:27:48 -08:00
parent 96ad80593b
commit 0555968687
2 changed files with 47 additions and 32 deletions

View File

@@ -74,11 +74,13 @@ if(!empty($_GET['action']))
*/
case 'info':
$string = base64_decode($_GET['src']);
parse_str($string,$p);
$themeInfo = e107::getSession()->get('thememanager/online/'.intval($p['id']));
echo $themec->renderThemeInfo($themeInfo);
if(!empty($_GET['src']))
{
$string = base64_decode($_GET['src']);
parse_str($string,$p);
$themeInfo = e107::getSession()->get('thememanager/online/'.intval($p['id']));
echo $themec->renderThemeInfo($themeInfo);
}
break;
case 'preview':