When saving an extension it would produce and error. To fix this adjust the SQL Where statement to change extension_enabled to enabled.

This commit is contained in:
Mark Crane
2012-08-22 00:43:23 +00:00
parent 56448bbdbf
commit d8ca993817
2 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -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;