summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorprashant2015-04-13 10:21:57 +0530
committerprashant2015-04-13 10:21:57 +0530
commita01abd0efac1c73d78e19bd919ed0522812b08c3 (patch)
tree6f66ca763dff0e67441d88f9997c0233687a571f
parent039f204523785e97dec571bcf0494d54ca757d5c (diff)
downloadDWSIM_textbook_companion-a01abd0efac1c73d78e19bd919ed0522812b08c3.tar.gz
DWSIM_textbook_companion-a01abd0efac1c73d78e19bd919ed0522812b08c3.tar.bz2
DWSIM_textbook_companion-a01abd0efac1c73d78e19bd919ed0522812b08c3.zip
changed path for redirect page after drupal error
-rwxr-xr-xdownload.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/download.inc b/download.inc
index 1f27c5b..c72526a 100755
--- a/download.inc
+++ b/download.inc
@@ -75,7 +75,7 @@ function textbook_companion_download_example()
unlink($zip_filename);
} else {
drupal_set_message("There are no files in this examples to download", 'error');
- drupal_goto('textbook_run');
+ drupal_goto('textbook_runs');
}
}
@@ -127,7 +127,7 @@ function textbook_companion_download_chapter()
unlink($zip_filename);
} else {
drupal_set_message("There are no examples in this chapter to download", 'error');
- drupal_goto('textbook_run');
+ drupal_goto('textbook_runs');
}
}
@@ -205,7 +205,7 @@ function textbook_companion_download_book()
}
} else {
drupal_set_message("There are no examples in this book to download", 'error');
- drupal_goto('textbook_run');
+ drupal_goto('textbook_runs');
}
}