use dc methods for widget settings
parent
bdbab6f9de
commit
b2918d5ebf
|
@ -221,8 +221,7 @@ class lastpostsextendWidget
|
||||||
}
|
}
|
||||||
|
|
||||||
# Home page only
|
# Home page only
|
||||||
if (($w->homeonly == 1 && !dcCore::app()->url->isHome(dcCore::app()->url->type))
|
if (!$w->checkHomeOnly(dcCore::app()->url->type)) {
|
||||||
|| ($w->homeonly == 2 && dcCore::app()->url->isHome(dcCore::app()->url->type))) {
|
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue