diff options
Diffstat (limited to 'modules/block.module')
-rw-r--r-- | modules/block.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/block.module b/modules/block.module index 2d112c0be..3629ebb65 100644 --- a/modules/block.module +++ b/modules/block.module @@ -35,7 +35,7 @@ function block_page() { function block_admin_save($edit) { foreach ($edit as $key=>$value) { - db_query("UPDATE blocks SET region = '$value[region]', status = '$value[status]', weight = '$value[weight]' WHERE name = '$key'"); + db_query("UPDATE blocks SET region = '". check_input($value[region]) ."', status = '". check_input($value[status]) ."', weight = '". check_input($value[weight]) ."' WHERE name = '". check_input($key) ."'"); } } |