diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-08-19 09:41:19 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2013-08-19 09:41:19 -0400 |
commit | c5eb569f5122d4140952bd5cc7ad4fdc5fbf8a23 (patch) | |
tree | 37024ec14fde9fef92eef8e9f997f72731e5155d /admin/rudi/views/view.awards.add.php | |
parent | 41d7bde950d6166a6cc414a48d0fa57f3fd9a512 (diff) | |
parent | 50f14f6bee7e1efaac5971579fc2e76c728ecad6 (diff) | |
download | bayonetcms-master.tar.gz |
Some more stuff
Diffstat (limited to 'admin/rudi/views/view.awards.add.php')
-rw-r--r-- | admin/rudi/views/view.awards.add.php | 5 |
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(); ?> |