summaryrefslogtreecommitdiff
path: root/modules/block.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-05-17 14:50:58 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2004-05-17 14:50:58 +0000
commitb2fd0db672ce6dde0dee8d95b3a2ef44ea7f2962 (patch)
tree5dfbb2efe8cf31267a911ff97df97d49c19487d1 /modules/block.module
parent57b1bdae29b2761682e497095a45c560b9212aee (diff)
downloadbrdo-b2fd0db672ce6dde0dee8d95b3a2ef44ea7f2962.tar.gz
brdo-b2fd0db672ce6dde0dee8d95b3a2ef44ea7f2962.tar.bz2
- Fixed missing block selection on user edit page.
Diffstat (limited to 'modules/block.module')
-rw-r--r--modules/block.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block.module b/modules/block.module
index 047e3bf64..1921193b6 100644
--- a/modules/block.module
+++ b/modules/block.module
@@ -343,7 +343,7 @@ function block_admin() {
*/
function block_user($type, $edit, &$user) {
switch ($type) {
- case 'edit':
+ case 'form':
$result = db_query('SELECT * FROM {blocks} WHERE custom = %d ORDER BY module, delta', 1);
while ($block = db_fetch_object($result)) {