diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-10-09 17:20:18 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-10-09 17:20:18 +0000 |
commit | f2a9d01de29918717080dac4ea8718da845f203f (patch) | |
tree | 177b4ef692002242d4cf1e7094d846cd182b376d /modules/path/path.module | |
parent | a30f75f050b87566ff5e0c3409a3dc42008d48bf (diff) | |
download | brdo-f2a9d01de29918717080dac4ea8718da845f203f.tar.gz brdo-f2a9d01de29918717080dac4ea8718da845f203f.tar.bz2 |
- Bugfix: inserting and updating paths was not working. Patch by Matt.
- Bugfix: updated the queue module menu so the "view submission" link appears
in the navigation when enabled. Patch by Matt.
Diffstat (limited to 'modules/path/path.module')
-rw-r--r-- | modules/path/path.module | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |