Commit 8ae5e441 authored by Dries's avatar Dries
Browse files

- Bugfix: it was not possible to delete nodes.  Reported by Philippe.
parent 710d7617
...@@ -964,6 +964,9 @@ function node_admin() { ...@@ -964,6 +964,9 @@ function node_admin() {
case 'delete': case 'delete':
$output = node_delete(array('nid' => arg(3))); $output = node_delete(array('nid' => arg(3)));
break; break;
case t('Delete'):
$output = node_delete($edit);
break;
default: default:
$output = node_admin_nodes(); $output = node_admin_nodes();
} }
......
...@@ -964,6 +964,9 @@ function node_admin() { ...@@ -964,6 +964,9 @@ function node_admin() {
case 'delete': case 'delete':
$output = node_delete(array('nid' => arg(3))); $output = node_delete(array('nid' => arg(3)));
break; break;
case t('Delete'):
$output = node_delete($edit);
break;
default: default:
$output = node_admin_nodes(); $output = node_admin_nodes();
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment