themes bugfix
This commit is contained in:
parent
d135c23655
commit
5ed987b614
2
mod.php
2
mod.php
@ -394,7 +394,7 @@
|
|||||||
$result = true;
|
$result = true;
|
||||||
$body = '';
|
$body = '';
|
||||||
if(isset($theme['install_callback'])) {
|
if(isset($theme['install_callback'])) {
|
||||||
$ret = $theme['install_callback']($theme['config']);
|
$ret = $theme['install_callback'](themeSettings($_theme));
|
||||||
if($ret && !empty($ret)) {
|
if($ret && !empty($ret)) {
|
||||||
if(is_array($ret) && count($ret) == 2) {
|
if(is_array($ret) && count($ret) == 2) {
|
||||||
$result = $ret[0];
|
$result = $ret[0];
|
||||||
|
Loading…
Reference in New Issue
Block a user