aboutsummaryrefslogtreecommitdiff
path: root/admin/blocks/functions.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-03 23:54:14 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-03 23:54:14 -0500
commit9d4fa2963b1059fed54aaeae583bf02a30c42239 (patch)
tree5bc96becffcda48318c932ece289ec358dc84691 /admin/blocks/functions.php
parentb63430eba1943d1732634df88884e8d7c4b2b1fb (diff)
downloadbayonetcms-9d4fa2963b1059fed54aaeae583bf02a30c42239.tar.gz
Fixed SVN maybe.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@448 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'admin/blocks/functions.php')
-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");