aboutsummaryrefslogtreecommitdiff
path: root/admin/rudi/views/view.awards.add.php
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2013-08-19 09:41:19 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2013-08-19 09:41:19 -0400
commitc5eb569f5122d4140952bd5cc7ad4fdc5fbf8a23 (patch)
tree37024ec14fde9fef92eef8e9f997f72731e5155d /admin/rudi/views/view.awards.add.php
parent41d7bde950d6166a6cc414a48d0fa57f3fd9a512 (diff)
parent50f14f6bee7e1efaac5971579fc2e76c728ecad6 (diff)
downloadbayonetcms-master.tar.gz
Merge pull request #3 from eoconnell/masterHEADmaster
Some more stuff
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();
?>