*** empty log message ***

merge-requests/26/head
Angie Byron 2009-11-02 04:43:29 +00:00
parent 1800edca1b
commit 230a045cfc
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ function node_add($type) {
$types = node_type_get_types();
$type = isset($type) ? str_replace('-', '_', $type) : NULL;
// If a node type has been specified, validate its existence.
if (isset($types[$type]) && node_access('create', $type)) {
if (isset($types[$type])) {
// Initialize settings:
$node = (object)array('uid' => $user->uid, 'name' => (isset($user->name) ? $user->name : ''), 'type' => $type, 'language' => '');