summaryrefslogtreecommitdiff
path: root/testimonials_add.inc
diff options
context:
space:
mode:
Diffstat (limited to 'testimonials_add.inc')
-rw-r--r--testimonials_add.inc10
1 files changed, 5 insertions, 5 deletions
diff --git a/testimonials_add.inc b/testimonials_add.inc
index 934a1cc..9ac95b9 100644
--- a/testimonials_add.inc
+++ b/testimonials_add.inc
@@ -222,9 +222,9 @@ function fellows_add_more_remove_one($form, &$form_state) {
$query = "
INSERT INTO fellowship_testimonials(activity, year, fellowship_task, testimonial_video, testimonial_type)
VALUES (:activity, :year, :fellowship_task, :testimonial_video, :testimonial_type)";
- $args = array(
+ $args = array(
+ ':activity' => $v["activity"],
':year' => $v["fellowship_year"],
- ':activity' => $v["activity"],
':fellowship_task' => $v["fellowship_task"],
':testimonial_video' => $v["testimonial_video"],
':testimonial_type' => 'V'
@@ -234,9 +234,9 @@ function fellows_add_more_remove_one($form, &$form_state) {
$query = "
INSERT INTO fellowship_testimonials(activity, year, fellowship_task, testimonial_text, testimonial_text_format, testimonial_type)
VALUES (:activity, :year, :fellowship_task, :testimonial_text, :testimonial_text_format, :testimonial_type)";
- $args = array(
+ $args = array(
+ ':activity' => $v["activity"],
':year' => $v["fellowship_year"],
- ':activity' => $v["activity"],
':fellowship_task' => $v["fellowship_task"],
':testimonial_text' => $v["testimonial_text"]["value"],
':testimonial_text_format' => $v["testimonial_text"]["format"],
@@ -270,7 +270,7 @@ function fellows_add_more_remove_one($form, &$form_state) {
if(!$result) {
drupal_set_message("Something went wrong, please try again.", "error");
} else {
- drupal_set_message("Testimonial added successfully", "status");
+ drupal_set_message("Internship Experiences added successfully", "status");
}
drupal_goto('internship-experiences/edit');
} \ No newline at end of file