summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/path.module3
-rw-r--r--modules/path/path.module3
-rw-r--r--modules/queue.module2
3 files changed, 3 insertions, 5 deletions
diff --git a/modules/path.module b/modules/path.module
index 7fed2cf71..3dc569462 100644
--- a/modules/path.module
+++ b/modules/path.module
@@ -2,7 +2,7 @@
/* $Id$ */
function path_admin() {
- $op = strtolower($_POST["op"]);
+ $op = $_POST["op"];
$edit = $_POST["edit"];
if (user_access("administer url aliases")) {
@@ -46,7 +46,6 @@ function path_admin() {
}
function path_set_alias($path = NULL, $alias = NULL) {
-
if ($path && !$alias) {
db_query("DELETE FROM {path} WHERE src = '%s'", $path);
drupal_rebuild_path_map();
diff --git a/modules/path/path.module b/modules/path/path.module
index 7fed2cf71..3dc569462 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -2,7 +2,7 @@
/* $Id$ */
function path_admin() {
- $op = strtolower($_POST["op"]);
+ $op = $_POST["op"];
$edit = $_POST["edit"];
if (user_access("administer url aliases")) {
@@ -46,7 +46,6 @@ function path_admin() {
}
function path_set_alias($path = NULL, $alias = NULL) {
-
if ($path && !$alias) {
db_query("DELETE FROM {path} WHERE src = '%s'", $path);
drupal_rebuild_path_map();
diff --git a/modules/queue.module b/modules/queue.module
index a6240d422..013e9471a 100644
--- a/modules/queue.module
+++ b/modules/queue.module
@@ -35,7 +35,7 @@ function queue_perm() {
function queue_link($type) {
if ($type == "system") {
if (user_access("access submission queue")) {
- menu("queue", t("view submissions"), NULL, NULL, 1);
+ menu("queue", t("view submissions"), "queue_page", NULL, 1);
}
}