1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-27 17:00:52 +01:00

themes bugfix

This commit is contained in:
Savetheinternet 2011-12-22 15:23:23 +11:00
parent d135c23655
commit 5ed987b614

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];