summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index bc41ce018..c864d8082 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -728,10 +728,10 @@ function system_user($type, $edit, &$user, $category = NULL) {
*
* Generate a block with a promotional link to Drupal.org.
*/
-function system_block($op = 'list', $delta = 0, $edit = NULL) {
+function system_block($op = 'list', $delta = '', $edit = NULL) {
switch ($op) {
case 'list':
- $blocks[0] = array(
+ $blocks['powered-by'] = array(
'info' => t('Powered by Drupal'),
'weight' => '10',
// Not worth caching.