Closed (duplicate)
Project:
Simple Access
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 May 2006 at 22:48 UTC
Updated:
27 Jun 2006 at 13:26 UTC
else {
drupal_set_title(t('Deactivate Simple Access'));
$form[] = array(
'#type' => 'submit',
'#value' => t('Deactivate'),
'#prefix' => t("<p>Before deactivating simple_access.module, you'll need to click this button in order to remove the simple_access grants from the database. If you do not do this, all of your nodes will become invisible to anyone but administators when you deactivate the module.</p><p><strong>Do this only when you want to deactivate the module.</strong></p>")
);
$output .= drupal_get_form('simple_access_deactivate', $form);
should be:
else {
drupal_set_title(t('Deactivate Simple Access'));
$form[] = array(
'#type' => 'submit',
'#value' => t('Deactivate'),
'#prefix' => t("<p>Before deactivating simple_access.module, you'll need to click this button in order to remove the simple_access grants from the database. If you do not do this, all of your nodes will become invisible to anyone but administators when you deactivate the module.</p><p><strong>Do this only when you want to deactivate the module.</strong></p>")
);
$output .= drupal_get_form('simple_access_setup_page', $form);
Comments
Comment #1
Robrecht Jacques commented#65640 has another fix for this (with patch attached). I don't know if this method also works.
Comment #2
gordon commentedI have fixed this now.