summaryrefslogtreecommitdiff
path: root/modules/block
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-06-17 13:16:57 +0000
committerDries Buytaert <dries@buytaert.net>2010-06-17 13:16:57 +0000
commit3620310d7c8a5d487f7b6826a89f8a4816149333 (patch)
tree11f5a65c4c28ef56b2a610f5e045d16e07c88808 /modules/block
parent7d4a02a3d9f93d47ef6379a75490145a89ab41d8 (diff)
downloadbrdo-3620310d7c8a5d487f7b6826a89f8a4816149333.tar.gz
brdo-3620310d7c8a5d487f7b6826a89f8a4816149333.tar.bz2
- Patch #818206 by Berdir et al: apply coding standard for no-arg constructors.
Diffstat (limited to 'modules/block')
-rw-r--r--modules/block/block.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block/block.module b/modules/block/block.module
index 05c9d4efc..55032af81 100644
--- a/modules/block/block.module
+++ b/modules/block/block.module
@@ -631,7 +631,7 @@ function block_load($module, $delta) {
// If the block does not exist in the database yet return a stub block
// object.
if (empty($block)) {
- $block = new stdClass;
+ $block = new stdClass();
$block->module = $module;
$block->delta = $delta;
}