summaryrefslogtreecommitdiff
path: root/modules/node
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node')
-rw-r--r--modules/node/content_types.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/node/content_types.inc b/modules/node/content_types.inc
index c611f6753..6717d5743 100644
--- a/modules/node/content_types.inc
+++ b/modules/node/content_types.inc
@@ -389,12 +389,12 @@ function node_node_type($op, $info) {
* Resets all of the relevant fields of a module-defined node type to their
* default values.
*
- * @param &$type
+ * @param $type
* The node type to reset. The node type is passed back by reference with its
* resetted values. If there is no module-defined info for this node type,
* then nothing happens.
*/
-function node_type_reset(&$type) {
+function node_type_reset($type) {
$info_array = module_invoke_all('node_info');
if (isset($info_array[$type->orig_type])) {
$info_array[$type->orig_type]['type'] = $type->orig_type;