aboutsummaryrefslogtreecommitdiff
path: root/admin/rudi/views/view.awards.add.php
diff options
context:
space:
mode:
authorEvan O'Connell <oconn.e@gmail.com>2013-08-18 18:29:07 -0400
committerEvan O'Connell <oconn.e@gmail.com>2013-08-18 18:29:07 -0400
commitf472c60b18469ff8a06963708174dea1bfc08015 (patch)
tree77c886ff7a2b38e4c4297935ad46e4b7c8f19e6c /admin/rudi/views/view.awards.add.php
parente7dab48469ac779d639fff7e221c7b5a23ded148 (diff)
downloadbayonetcms-f472c60b18469ff8a06963708174dea1bfc08015.tar.gz
Adds untracked changes
Diffstat (limited to 'admin/rudi/views/view.awards.add.php')
-rw-r--r--admin/rudi/views/view.awards.add.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/admin/rudi/views/view.awards.add.php b/admin/rudi/views/view.awards.add.php
index 9c97c54..71f6a91 100644
--- a/admin/rudi/views/view.awards.add.php
+++ b/admin/rudi/views/view.awards.add.php
@@ -6,12 +6,13 @@
global $db;
$name = $form->request['name'];
$text = $form->request['text'];
+ decho("INSERT INTO `rudi_awards` SET `class_id` = '$class_id', `name` = '$name', `description` = '$text'");
$db->Query("INSERT INTO `rudi_awards` SET `class_id` = '$class_id', `name` = '$name', `image` = '', `description` = '$text'");
- PageRedirect(1, "?op=rudi&show=awards&cid={$class_id}");
+ PageRedirect(1, "?op=rudi&show=awards&cid=".$class_id);
return;
}
- echo LinkInternal("Cancel","?op=rudi&show=awards&cid={$class_id}");
+ echo LinkInternal("Cancel","?op=rudi&show=awards&cid=".$class_id);
OpenTable();
?>