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

View File

@ -4885,13 +4885,6 @@
<md5>a20aca300a3c9c1cdd724971dba4626d</md5>
<size>1913</size>
</src>
<src>
<type>file</type>
<path>/secure/v_config_cli.php</path>
<last_mod>Tue, 29 Jun 2010 08:34:19 GMT</last_mod>
<md5>6e1e710fe517b4a624d0fad75313d1bb</md5>
<size>1109</size>
</src>
<src>
<type>file</type>
<path>/secure/v_mailto.php</path>

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;