--- content_access.module.old	2008-01-03 02:39:57.000000000 +0100
+++ content_access.module	2008-05-13 17:01:01.000000000 +0200
@@ -108,7 +108,8 @@ function content_access_page($nid) {
       $acl_id = acl_get_id_by_name('content_access', $op .'_'. $node->nid);
       if (!$acl_id) { // create one
         $acl_id = acl_create_new_acl('content_access', $op .'_'. $node->nid);
-        acl_node_add_acl($node->nid, $acl_id, $op == 'view', $op == 'update', $op == 'delete');
+        $priority = content_access_get_settings('priority', $node->type);
+        acl_node_add_acl($node->nid, $acl_id, $op == 'view', $op == 'update', $op == 'delete', $priority);
       }
       $form['acl'][$op] = acl_edit_form($acl_id, 'Grant '. $op .' access');
       $form['acl'][$op]['#collapsed'] = !isset($_POST['acl'][$op]['add_button']) && !isset($_POST['acl'][$op]['delete_button']); 
