--- nodetype/nodetype.module	2010-04-15 12:08:55.000000000 +0300
+++ nodetype/nodetype.module	2010-04-15 12:09:47.000000000 +0300
@@ -129,13 +129,15 @@ function nodetype_hook_info() {
  */
 function nodetype_nodetype($op, $node) {
   if ($op == 'changed') {
-    $aids = _trigger_get_hook_aids('nodetype', $op);
-    $context = array(
-      'hook' => 'nodetype',
-      'op' => $op,
-      'node' => $node,
-    );
-    actions_do(array_keys($aids), $node, $context);
+    if (module_exists('trigger')) {
+      $aids = _trigger_get_hook_aids('nodetype', $op);
+      $context = array(
+        'hook' => 'nodetype',
+        'op' => $op,
+        'node' => $node,
+      );
+      actions_do(array_keys($aids), $node, $context);
+    }
     watchdog('nodetype', 'Node type was changed to @type', array('@type' => $node->type));
   }
   else {
