use dc methods for widget settings
parent
6773baf48d
commit
325b11ab36
|
@ -26,8 +26,7 @@ function myBlogNumbersWidgetPublic($w)
|
|||
return;
|
||||
}
|
||||
|
||||
if (($w->homeonly == 1 && !dcCore::app()->url->isHome(dcCore::app()->url->type))
|
||||
|| ($w->homeonly == 2 && dcCore::app()->url->isHome(dcCore::app()->url->type))) {
|
||||
if (!$w->checkHomeOnly(dcCore::app()->url->type)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue