aboutsummaryrefslogtreecommitdiff
path: root/admin/blocks
diff options
context:
space:
mode:
Diffstat (limited to 'admin/blocks')
-rw-r--r--admin/blocks/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/blocks/functions.php b/admin/blocks/functions.php
index fadf610..84c20b5 100644
--- a/admin/blocks/functions.php
+++ b/admin/blocks/functions.php
@@ -117,7 +117,7 @@ function EditBlock($block_id)
}
//Update the database with the new data.
- $db->Query("UPDATE bayonet_blocks SET weight = '$weight', dir_name = '$dir_name', position = '$position', active = '$active' WHERE block_id = '$block_id'");
+ $db->Query("UPDATE bayonet_blocks SET title = '$title', weight = '$weight', dir_name = '$dir_name', position = '$position', active = '$active' WHERE block_id = '$block_id'");
//$isActive = $active ? "IS" : "IS NOT";
echo "Block, '$dir_name', at position '$weight'(order) has been edited.\n";
PageRedirect(3, "?op=blocks");