1
I found a problem in the admin area when you activate and deactive the modules. the admin menu does not get rebuilt. Below is the fix for that problem.
--- main.php.org Tue Oct 21 13:54:56 2003
+++ main.php Tue Oct 21 13:49:07 2003
@@ -130,10 +130,12 @@
if (isset($newstatus[$mid]) && $newstatus[$mid] ==1) {
if ($oldstatus[$mid] == 0) {
$ret[] = xoops_module_activate($mid);
+ $write = true;
}
} else {
if ($oldstatus[$mid] == 1) {
$ret[] = xoops_module_deactivate($mid);
+ $write = true;
}
}
$newname[$mid] = trim($newname[$mid]);