diff options
author | Dries Buytaert <dries@buytaert.net> | 2004-06-19 10:10:11 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2004-06-19 10:10:11 +0000 |
commit | 71c99bb213636a7b5956cd4b0c10d3dacc724556 (patch) | |
tree | d5b0d389c685d181d35d831b8e76349308ab646d | |
parent | c3a6f3dc545bf3befe8b1bad8ece4695d660128b (diff) | |
download | brdo-71c99bb213636a7b5956cd4b0c10d3dacc724556.tar.gz brdo-71c99bb213636a7b5956cd4b0c10d3dacc724556.tar.bz2 |
- Patch #8619 by TDobes: fixed typo in watchdog message.
-rw-r--r-- | modules/node.module | 2 | ||||
-rw-r--r-- | modules/node/node.module | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/node.module b/modules/node.module index afd41f23b..5f36d0198 100644 --- a/modules/node.module +++ b/modules/node.module @@ -1479,7 +1479,7 @@ function node_submit($node) { if (node_access('create', $node)) { $node->nid = node_save($node); - watchdog('special', t('%node-type: added "%node-title"', array('%node-type' => t("$node->type"), '%node->title' => $node->title)), l(t('view post'), "node/$node->nid")); + watchdog('special', t('%node-type: added "%node-title"', array('%node-type' => t("$node->type"), '%node-title' => $node->title)), l(t('view post'), "node/$node->nid")); $msg = t('your %name was created.', array ('%name' => node_invoke($node, 'node_name'))); } } diff --git a/modules/node/node.module b/modules/node/node.module index afd41f23b..5f36d0198 100644 --- a/modules/node/node.module +++ b/modules/node/node.module @@ -1479,7 +1479,7 @@ function node_submit($node) { if (node_access('create', $node)) { $node->nid = node_save($node); - watchdog('special', t('%node-type: added "%node-title"', array('%node-type' => t("$node->type"), '%node->title' => $node->title)), l(t('view post'), "node/$node->nid")); + watchdog('special', t('%node-type: added "%node-title"', array('%node-type' => t("$node->type"), '%node-title' => $node->title)), l(t('view post'), "node/$node->nid")); $msg = t('your %name was created.', array ('%name' => node_invoke($node, 'node_name'))); } } |