Commit b2fd0db6 authored by Kjartan's avatar Kjartan
Browse files

- Fixed missing block selection on user edit page.

parent 57b1bdae
......@@ -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)) {
......
......@@ -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)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment