Version 5.0.0 beta 10
This commit is contained in:
1 parent
56979f8ee8
commit
264eeb97e0
325 files changed
+6442
-1849
No files matched your search
@@ -1060,6 +1060,11 @@ EOF;
|
||||
$customBlocksWithBlocks = [];
|
||||
foreach( Db::i()->select( '*', 'cms_blocks', [ 'block_type=?', 'custom' ] ) as $row )
|
||||
{
|
||||
if( empty( $row['block_content'] ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
preg_match_all( '/\{block="(.+?)"}/is', $row['block_content'], $matches );
|
||||
if( count( $matches[1] ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user