1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-02-18 03:37:35 +01:00

themes bugfix

This commit is contained in:
Savetheinternet 2011-12-22 15:23:23 +11:00
parent 2170e11f58
commit afdf45e3b5

View File

@ -394,7 +394,7 @@
$result = true;
$body = '';
if(isset($theme['install_callback'])) {
$ret = $theme['install_callback']($theme['config']);
$ret = $theme['install_callback'](themeSettings($_theme));
if($ret && !empty($ret)) {
if(is_array($ret) && count($ret) == 2) {
$result = $ret[0];