- 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.4.3.x
parent
a30f75f050
commit
f2a9d01de2
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue