From d8ca9938175ae42865ffb115e3a2409632a1c957 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 22 Aug 2012 00:43:23 +0000 Subject: [PATCH] When saving an extension it would produce and error. To fix this adjust the SQL Where statement to change extension_enabled to enabled. --- includes/install/source.xml | 7 ------- includes/lib_switch.php | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/includes/install/source.xml b/includes/install/source.xml index 218b6aaf4d..80e5146548 100644 --- a/includes/install/source.xml +++ b/includes/install/source.xml @@ -4885,13 +4885,6 @@ a20aca300a3c9c1cdd724971dba4626d 1913 - - file - /secure/v_config_cli.php - Tue, 29 Jun 2010 08:34:19 GMT - 6e1e710fe517b4a624d0fad75313d1bb - 1109 - file /secure/v_mailto.php diff --git a/includes/lib_switch.php b/includes/lib_switch.php index 415d79c370..2571432733 100644 --- a/includes/lib_switch.php +++ b/includes/lib_switch.php @@ -3399,7 +3399,7 @@ if (!function_exists('sync_directory')) { //get a list of extensions and the users assigned to them $sql = "select * from v_extensions "; $sql .= "where domain_uuid = '$domain_uuid' "; - $sql .= "and extension_enabled = 'true'; "; + $sql .= "and enabled = 'true'; "; $prep_statement = $db->prepare(check_sql($sql)); $prep_statement->execute(); $x = 0;