Version 4.7.0

This commit is contained in:
Neo committed 2025-12-19 16:00:35 -08:00
1 parent 517a5e1f70
commit 8ba7d43898
1933 files changed
+65613 -11332

No files matched your search

@@ -516,7 +516,10 @@ class _Templates extends \IPS\Patterns\ActiveRecord
foreach( $templates as $id => $template )
{
$return[ $template->location ][ $template->group ][ $template->key ] = $template;
if ( ! ( $template->location === 'database' and ! \IPS\Member::loggedIn()->hasAcpRestriction( 'cms', 'databases', 'databases_use' ) ) )
{
$return[$template->location][$template->group][$template->key] = $template;
}
}
return $return;