From 7710d08b0ca860492aa9b6452d60ce04d4430a13 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 8 May 2009 03:53:36 +0000 Subject: [PATCH] Fix: A begin tran with no end --- htdocs/admin/system/modules.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/htdocs/admin/system/modules.php b/htdocs/admin/system/modules.php index 1daddf96cfd..bc545572355 100644 --- a/htdocs/admin/system/modules.php +++ b/htdocs/admin/system/modules.php @@ -31,12 +31,12 @@ $langs->load("other"); if (!$user->admin) accessforbidden(); - - + + /* * View */ - + llxHeader(); print_fiche_titre($langs->trans("AvailableModules"),'','setup'); @@ -46,8 +46,6 @@ print $langs->trans("ToActivateModule").'
'; print "
\n"; // Charge les modules -$db->begin(); - $dir = DOL_DOCUMENT_ROOT . "/includes/modules/"; $handle=opendir($dir); $modules = array(); @@ -82,7 +80,7 @@ $var=false; $sortorder=$modules_names; ksort($sortorder); $rights_ids = array(); -foreach($sortorder as $numero=>$name) +foreach($sortorder as $numero=>$name) { $idperms=""; $var=!$var;