Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -45,6 +45,12 @@ class _Categories extends \IPS\Widget\PermissionCache
|
||||
*/
|
||||
public function render()
|
||||
{
|
||||
/* If we're not on a Pages page, return nothing */
|
||||
if( !\IPS\cms\Pages\Page::$currentPage )
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
||||
/* Scope makes it possible for this block to fire before the main block which sets up the dispatcher */
|
||||
$db = NULL;
|
||||
if ( ! \IPS\cms\Databases\Dispatcher::i()->databaseId )
|
||||
|
||||
Reference in new issue
Block a user